Think in Patterns #1 — Dynamic Programming
Let's look at a problem.
Count the number of ways to reach the n-th stair.
You can climb 1 or 2 steps at a time.
First, look at the structure.
Forget algorithms for a moment.
Just think about how t
bswebdev.hashnode.dev3 min read