Pregunta de entrevista de RBC

pseudo code about a fibbonacci question.