The palindrome check is achieved by first converting the integer to a string, then comparing it to the reversed value of that string. Eg :- 5.palindrome?
Required Ruby Version
None
Authors
Harisankar P S
The palindrome check is achieved by first converting the integer to a string, then comparing it to the reversed value of that string. Eg :- 5.palindrome?
None
Harisankar P S