I am given a lower limit and an upper limit.. (integers)
I am given a palindrome in this interval..
I am supposed to find the next palindrome in this interval
...
Cud think of something for smaller intervals when I know the number of digits in the number is 3,4,5...
Can some one give a generic method if the upper limit is given to be of the order 10^5..