Bloomberg interview question

i don't remember, some recursion