A boy runs up a flight of stairs consisting of n steps; in 1 bound, he can move up one, two or three steps.
Implement the numberOfPossibleAscents(int n) method, which should return the number of ways the boy can
ascend an entire flight of stairs consisting of n steps.
Stairs
- 20
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet