in

thinkSmarterNotHarder

thinkSmarterNotHarder | function-memes, fibonacci-memes, interview-memes | ProgrammerHumor.io
function-memes, fibonacci-memes, interview-memes | ProgrammerHumor.io

Content

Interviewer: "Write a function to get the nth Fibonacci number" My solution: const fib n Math. floor(1Math.sqrt (5) (Math. pow((1 Math. sqrt (5)) 2, -Math.pow ( (1 – Math. sqrt (5)) 2, n) )) The interviewer: