Question d’entretien chez Intercontinental Exchange

Fibonacci series coding question on white board