Discuss: in this problem just simply reverse the digit using very naive process that is also fine. and then whether it is palindrome or not if it is not palindrome then repeat the process for newly create number. you will get your answer,
there is no tricky part in this problem.
try yourself, before see the code
there is no tricky part in this problem.
try yourself, before see the code