Coding Type Qu
Arun is living in an apartment, his grandfather reading a newspaper and he catch so
task for Arun. There are n stairs, a person standing at the bottom wants to reach the
Arun can climb either 1 stair or 2 stairs at a time, the task is to count the number of
arun can reach the top.
For Ex:
Input: n = 4
Output: 5
(1, 1, 1, 1), (1,1,2), (2, 1, 1), (1, 2, 1), (2, 2)
Input format
Enter the input(n).
can anyone help me out by code .
Answers
Answered by
0
Answer:
I don't know if you have any questions
Similar questions