...

/

Challenge: Staircase Problem

Challenge: Staircase Problem

Let's solve the triple-step problem! otherwise known as the staircase problem.

Problem statement

A child is running up a staircase with n steps and can hop either 1 step, 2 steps, or 3 steps at a time. Implement a function to count the ...