Skip to content

Commit 8745dfb

Browse files
author
briuzky
committed
Fixed the time complexity of Fibonnaci generation.
1 parent 1b257d8 commit 8745dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algorithm/dp/fibonacci/desc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Fibonacci Sequence": "Finding Fibonacci sequence using dynamic programming.",
33
"Complexity": {
4-
"time": "O(n<sup>2</sup>)",
4+
"time": "O(n)",
55
"space": "O(n)"
66
},
77
"References": [
@@ -10,4 +10,4 @@
1010
"files": {
1111
"basic": "Fibonacci Sequence"
1212
}
13-
}
13+
}

0 commit comments

Comments
 (0)