Skip to content

Files

Latest commit

3c7c127 · Jul 25, 2017

History

History

0009.palindrome-number

题目

Determine whether an integer is a palindrome. Do this without extra space.

解题思路

检查一个整数是否是回文。

先把整数转换成字符串,再检查字符串是否是回文。