Pregunta de entrevista de HERE Technologies

Write a program that outputs the Fibonacci sequence.

Respuesta de la entrevista

Anónimo

30 de may de 2010

There's a non-efficient O(n^2) way that uses recursion. There's an efficient O(n) way that uses an array.