You are viewing a single comment's thread. Return to all comments →
js
function fibonacciModified(t1, t2, n) { [t1, t2] = [BigInt(t1), BigInt(t2)]; while (n-- > 2) { [t1, t2] = [t2, t1 + t2 * t2]; } return t2; }
Seems like cookies are disabled on this browser, please enable them to open this website
Fibonacci Modified
You are viewing a single comment's thread. Return to all comments →
js