Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Steps
TheChetan
Sep 11th, 2020
(
edited
)
344
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
1. Given a staircase of n steps. You can climb in steps of 1, 2 and 3.
In how many ways can you climb the staircase?
Ex:
For 4 steps:
1+1+1+1
1+1+2
1+2+1
2+1+1
1+3
3+1
2+2
So answer: 7
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 2 min ago | 0.30 KB
203116
JSON | 5 min ago | 2.13 KB
🎁 G2A.COM FREE GIFT CARD GUIDE JUN 2024 V2 🎁
GetText | 6 min ago | 0.36 KB
Review CapitalBear
PHP | 8 min ago | 0.04 KB
Review CapitalBear
PHP | 8 min ago | 0.05 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 8 min ago | 0.29 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 15 min ago | 0.30 KB
🎁 G2A.COM FREE GIFT CARD GUIDE JUN 2024 V2 🎁
GetText | 17 min ago | 0.39 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!