Skip to content

Pascal's Triangle

An Easy coding interview problem in the 1-D Dynamic Programming pattern.

Likely pattern

1-D Dynamic Programming

Overlapping subproblems indexed by a single position.

Recognition cue: Count ways, min / max over choices at each index, and greedy fails a counterexample.

Learn first

Topics

  • Array
  • Dynamic Programming
  1. 1Easy
  2. 2Easy
  3. 3Easy
  4. 4Easy
  5. 5Easy
  6. 6Easy
  7. 7Easy
  8. 8Medium