mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Fibonacci bug fix
This commit is contained in:
parent
a4e270eb37
commit
93720930e9
|
@ -34,7 +34,6 @@
|
|||
"source": [
|
||||
"## Constraints\n",
|
||||
"\n",
|
||||
|
||||
"* None"
|
||||
]
|
||||
},
|
||||
|
@ -45,7 +44,7 @@
|
|||
"## Test Cases\n",
|
||||
"\n",
|
||||
"* n = 0 -> 0\n",
|
||||
"* n = 1 -> 0\n",
|
||||
"* n = 1 -> 1\n",
|
||||
"* n > 1 -> 0, 1, 1, 2, 3, 5, 8, 13, 21, 34..."
|
||||
]
|
||||
},
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
"source": [
|
||||
"## Constraints\n",
|
||||
"\n",
|
||||
|
||||
"* None"
|
||||
]
|
||||
},
|
||||
|
@ -44,7 +43,7 @@
|
|||
"## Test Cases\n",
|
||||
"\n",
|
||||
"* n = 0 -> 0\n",
|
||||
"* n = 1 -> 0\n",
|
||||
"* n = 1 -> 1\n",
|
||||
"* n > 1 -> 0, 1, 1, 2, 3, 5, 8, 13, 21, 34..."
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user