We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04101d6 commit 96a671dCopy full SHA for 96a671d
README.md
@@ -5,7 +5,7 @@ MATLAB Code: Solve Fibonacci Numbers using **Dynamic Programming**, Memoization
5
6
1. **Fibo1.m: Fibonacci with Recursive approach:**
7
* Time Complexity: O(2^n)
8
- * Space Complexity: O(2^n)
+ * Space Complexity: O(n)
9
10
2. **Fibo2.m: Fibonacci with Dynamic programming (Memoization):**
11
* Time Complexity: O(n)
0 commit comments