Skip to content

Latest commit

 

History

History
executable file
·
9 lines (6 loc) · 286 Bytes

File metadata and controls

executable file
·
9 lines (6 loc) · 286 Bytes

题目

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

解题思路

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

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