Pergunta de entrevista da empresa Vanguard

Not listing every algorithm question I was given. Fibonacci was one