Skip to content

Distribute Elements Into Two Arrays II

A Hard coding interview problem in the Math & Geometry pattern.

Likely pattern

Math & Geometry

Matrix manipulation, number tricks and coordinate reasoning.

Recognition cue: Rotate or spiral a matrix, digit manipulation, or points on a plane.

Learn first

Topics

  • Array
  • Binary Indexed Tree
  • Segment Tree
  • Simulation
  1. 1Hard
  2. 2Hard
  3. 3Hard
  4. 4Hard
  5. 5Hard
  6. 6Hard
  7. 7Hard
  8. 8Hard