Bkav interview question

Basic Recursion Algorithm and one advanced problem