Frontend Engineer Interview Questions

12,743 frontend engineer interview questions shared by candidates

Write recursive function that as an argument gets n and calculates what is corresponding number in n place in Fibonacci sequence For example f(8) = 21 (Fibonacci sequence for example: 0,1,1,2,3,5,8,13,21,34,55….) a. Discuss performance of the function with large n number. What are pitfalls? How function can be optimized. b. Bonus: write function complexity of space and time.
avatar

Senior Frontend Developer/AngularJs

Interviewed at NeoGames

4.2
May 31, 2015

Write recursive function that as an argument gets n and calculates what is corresponding number in n place in Fibonacci sequence For example f(8) = 21 (Fibonacci sequence for example: 0,1,1,2,3,5,8,13,21,34,55….) a. Discuss performance of the function with large n number. What are pitfalls? How function can be optimized. b. Bonus: write function complexity of space and time.

Viewing 2141 - 2150 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,743 interview questions and reports from Frontend engineer interviews. Prepare for your interview. Get hired. Love your job.