Skip to content

Falling Squares

A Hard coding interview problem in the Arrays & Hashing pattern.

Likely pattern

Arrays & Hashing

Trade memory for time with sets, maps and counting.

Recognition cue: You need to look something up you have already seen, count frequencies, or group by a key.

Learn first
Nothing. Arrays & Hashing is a starting point.
Do not confuse it with

Topics

  • Array
  • Segment Tree
  • Ordered Set
  1. 1Hard
  2. 2Hard
  3. 3Hard
  4. 4Hard
  5. 5Hard
  6. 6Hard
  7. 7Hard
  8. 8Hard