AlgoFlow

Climbing Stairs

beginner

Count the ways up with steps of 1 or 2 — Fibonacci in disguise.

waiting for input

Visualization

—

Set the inputs on the right and press Run visualization to generate every step up front — then scrub forwards and backwards freely.

step 0 / 0
← previous→ nextspace play / pauseHome / End jump

No run yet

Enter an input and press Run to generate the step-by-step explanation.

Run the algorithm to see pseudocode.