Easy1-D DPNeetCode 150 · #100/150
Min Cost Climbing Stairs
- 1Learn the pattern
Define dp[i] in words first, then the recurrence is usually one line. Start from the base cases.
- 2Watch it run
See this exact pattern animated step by step before you touch the keyboard.
Open visualizer - 3