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 126899f

Browse files
author
Mansour Torabi
committed
readme updated
1 parent 22fa6d5 commit 126899f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

‎README.md‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@
33
MATLAB Code: Solve Fibonacci Numbers using **Dynamic Programming**, Memoization Implementation in MATLAB
44

55

6-
1- **Fibo1.m: Fibonacci with Recursive approach:**\
7-
* Time Complexity: O(2^n)
6+
1. **Fibo1.m: Fibonacci with Recursive approach:**
7+
* Time Complexity: O(2^n)
88
* Space Complexity: O(2^n)
99

10-
2- **Fibo2.m: Fibonacci with Dynamic programming (Memoization):**\
11-
* Time Complexity: O(n)
10+
2. **Fibo2.m: Fibonacci with Dynamic programming (Memoization):**
11+
* Time Complexity: O(n)
1212
* Space Complexity: O(n)
1313

14-
3- **Fibo3.m: Fibonacci with Matrix Exponentiation:**\
15-
* Time Complexity: O(log(n))
14+
3. **Fibo3.m: Fibonacci with Matrix Exponentiation:**
15+
* Time Complexity: O(log(n))
1616

1717

1818

1919
## How to use
2020

2121
Just run the **EVAL.m** file to compare run-time of the following three methods:
2222

23-
1- Fibo using _Recursive method_
24-
2- Fibo using _Dynamic programming_
25-
3- Fibo using _Matrix Exponentiation_ (Fastest method)
26-
23+
1. Fibo using ___Recursive method___
24+
2. Fibo using ___Dynamic programming___
25+
3. Fibo using ___Matrix Exponentiation___ (Fastest method)

0 commit comments

Comments
(0)

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