employer cover photo
employer logo
employer logo

Schweitzer Engineering Laboratories

¿Esta es tu empresa?

Pregunta de entrevista de Schweitzer Engineering Laboratories

Code the Fibonacci sequence. Psuedo code was acceptable.

Respuesta de la entrevista

Anónimo

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.