getting wrong answer in The Next Palindrome. Please provide test cases for wrong answer

i have tested most of corner cases for problem The Next Palindrome
please give me some test cases for my solution being wrong

my solution link

1 Like

Hello your code fails at 6th input. Once look at this link : http://ideone.com/OfeO1R

4 Likes

Thanks :slight_smile: . i forgot to put ‘0’ in quotes. got accepted

@achaitanyasai thanks a lot for the test cases , I was stuck .Finally got my solution accepted.