The question is to find out the next palindrome k > n, n being the given number.
But the test cases are provided for k>=n. Change in the test cases would help.
1 Like
The question is to find out the next palindrome k > n, n being the given number.
But the test cases are provided for k>=n. Change in the test cases would help.