Palindrome recursive

https://ide.codingblocks.com/s/50442

it is giving false answer only

Hi Ayush,
That is happening because you’re returning false in the base case. Just remove the else block in line number 7 otherwise the code would return false for the first iteration only.
Also, your logic would not work when there are odd number of elements in the array. Work on the logic.

oohhh yesss thanks for help