Count ways to reach the nth stair (modified)
Filed under Goldman Sachs
The question
An easy DP question related to counting ways to reach the nth stair, with a modification and extension.
No write-up yet. Related questions below have one.
Related Goldman Sachs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.