โ† Snapdeal questions

N-th Stair Problem

Filed under Snapdeal

The question

Find the number of ways to reach the N-th stair when you can take 1 or 2 steps at a time, using dynamic programming.

No write-up yet. Related questions below have one.

Related Snapdeal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.