Skip to content

Commit d6021f5

Browse files
committed
Added description to recursive staircase problem
Added a description to the recursive staircase problem Added an entry in the table of contents in the main README file
1 parent e8f615c commit d6021f5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Recursive Staircase Problem
2+
3+
There are n stairs, a person standing at the bottom wants to reach the top. The person can climb either 1 stair or 2 stairs at a time. Count the number of ways, the person can reach the top.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ ACM-ICPC Algorithms is a collection of important algorithms and data structures
7676
* [Number Of Islands](/DP/NumberOfIslands)
7777
* [Partition Problem](/DP/PartitionProblem)
7878
* [Print Neatly](/DP/PrintNeatly)
79+
* [Recursive Staircase Problem](/DP/Recursive_Staircase_Problem)
7980
* [Shortest Uncommon Subsequence](/DP/ShortestUncommonSubsequence)
8081
* [Subset Sum](/DP/subset%20sum%20problem)
8182
* [Longest Bitonic SubSequence](/DP/LongestBitonicSubseq)

0 commit comments

Comments
 (0)