Skip to content

Zero Array Transformation I

A Medium 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
  • Prefix Sum
  1. 1Medium
  2. 2Medium
  3. 3Medium
  4. 4Medium
  5. 5Medium
  6. 6Medium
  7. 7Medium
  8. 8Medium