Skip to main content

One doc tagged with "fibonacci"

View all tags

Climbing Stairs

This question is asked by Google. Given a staircase with N steps and the ability to climb either one or two steps at a time, return the total number of ways to arrive at the top of the staircase.