Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9a1fc8c

Browse files
Update README.md
1 parent 70fb09c commit 9a1fc8c

File tree

1 file changed

+4
-4
lines changed
  • Competitive Coding/Math/Catalan_Numbers

1 file changed

+4
-4
lines changed

‎Competitive Coding/Math/Catalan_Numbers/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ They're similar to Fibonacci (very slightly)
55
The two different implementations vary only in terms of time taken!<br>
66
Basically we can implement in 3 different ways!<br>
77

8-
* Recursively - Exponential time complexity<br>
9-
* Dynamic Programming - O(n^2)<br>
10-
* Binomial Coefficient - O(n) <br><br>
8+
* Recursively - `Exponential time complexity`<br>
9+
* Dynamic Programming - `O(n^2)`<br>
10+
* Binomial Coefficient - `O(n)` <br><br>
1111

1212
Each of the above 3 implementations have a descending order of time complexities from (1) to (3) <br><br>
1313

1414
The Binomial implementation has the best time complexity while the Recursive implementation has the worst time complexity<br>
1515
In this folder we have the Binomial and Recursive implementations of Catalan Numbers.<br><br>
1616

17-
Sources : https://www.geeksforgeeks.org/program-nth-catalan-number/ (You can have a look at this to know more about Catalan number implementations and its theory.)
17+
Sources : Click [here](https://www.geeksforgeeks.org/program-nth-catalan-number/)to know more about Catalan number implementations and its theory.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /