Skip to content

Commit ff01474

Browse files
committed
notes to comments re fibonacci
1 parent 881fc9d commit ff01474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/recursion.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Complete the following functions.
22

33
const nFibonacci = (n) => {
4-
// fibonacci sequence: 1 2 3 5 8 13 ...
4+
// fibonacci sequence: 0 1 1 2 3 5 8 13 ...
55
// return the nth number in the sequence
6+
//fibonacci #s found by adding up the two numbers before it
67
};
78

89
const nFactorial = (n) => {

0 commit comments

Comments
 (0)