Google interview question

Problem related to Recursive function