We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 881fc9d commit ff01474Copy full SHA for ff01474
src/recursion.js
@@ -1,8 +1,9 @@
1
// Complete the following functions.
2
3
const nFibonacci = (n) => {
4
- // fibonacci sequence: 1 2 3 5 8 13 ...
+ // fibonacci sequence: 0 1 1 2 3 5 8 13 ...
5
// return the nth number in the sequence
6
+ //fibonacci #s found by adding up the two numbers before it
7
};
8
9
const nFactorial = (n) => {
0 commit comments