Count Teams With Skill Sum in Range
Asked at Amazon · Coding Questions · Difficulty: Easy
Given employee `skill` values, count the pairs `(i, j)` with `i < j` whose skill sum lies between `min_skill` and `max_skill`, inclusive.
Loading the problem…
Asked at Amazon · Coding Questions · Difficulty: Easy
Given employee `skill` values, count the pairs `(i, j)` with `i < j` whose skill sum lies between `min_skill` and `max_skill`, inclusive.
Loading the problem…