LinkedIn interview question

Recursion