The next palindromic number after the one above?
Answers
Answered by
0
Answer:
The strategy to find the next palindrome is same. First we mirror the number and check whether it's greater than the given one. If it is then we return that number, if not we increment the middle two digits by 1, which means adding 110 in this case
Similar questions