Skip to content

Latest commit

 

History

History
 
 

0009.palindrome-number

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

题目

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

解题思路

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

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