Skip to content

Minimum Difference Between Highest and Lowest of K Scores

An Easy coding interview problem in the Sliding Window pattern.

Likely pattern

Sliding Window

Grow and shrink a contiguous range while keeping an invariant.

Recognition cue: Longest, shortest or count of a contiguous subarray or substring with a constraint.

Learn first

Topics

  • Array
  • Sliding Window
  • Sorting
  1. 1Easy
  2. 2Easy
  3. 3Easy
  4. 4Easy
  5. 5Easy
  6. 6Easy
  7. 7Easy
  8. 8Easy