Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.04 KB

File metadata and controls

21 lines (13 loc) · 1.04 KB

Recursive Staircase Problem

The Problem

There are n stairs, a person standing at the bottom wants to reach the top. The person can climb either 1 or 2 stairs at a time. Count the number of ways, the person can reach the top.

The Solution

This is an interesting problem because there are several ways of how it may be solved that illustrate different programming paradigms.

References