Dynamic Programming
One dimension: stairs
From the Dynamic Programming lesson: Remember answers to small problems; build the big one from them.
Step with → or Next. When a question pops up, make your guess. Switch to “Try your own” to run it on your input.
Getting the demo ready…