employer cover photo
employer logo
employer logo

Schweitzer Engineering Laboratories

Is this your company?

Schweitzer Engineering Laboratories interview question

Code the Fibonacci sequence. Psuedo code was acceptable.

Interview Answer

Anonymous

2 Mar 2019

Make a loop where the first value is one and it adds itself with the previous value. Resulting in a sequence like [1,1,2,3,5,8,13,...] I had to ask what the Fibonacci sequence was because I didn't know. Don't be afraid to ask questions like that.