fibanachi

Solutions on MaxInterview for fibanachi by the best coders in the world

showing results for - "fibanachi"
Benjamin
06 Sep 2018
1function fib(n){
2	var fib = [0, 1];
3	var i = 0;
4	for (let i = 0; i != n-2; i++){
5
6		fib.push(fib[i]+fib[i+1]);
7
8	}
9
10	return fib;
11
12}
13
14
similar questions
queries leading to this page
fibanachi