Fibonacci Number
An Easy coding interview problem in the 1-D Dynamic Programming pattern.
Likely pattern
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
- Do not confuse it with
Topics
- Math
- Dynamic Programming
- Recursion
- Memoization
Practise 1-D Dynamic Programming next
- 1Easy
- 2Easy
- 3Easy
- 4Easy
- 5Easy
- 6Easy
- 7Easy
- 8Medium