Tenerity India interview question

pallindrome using recursive function