今際の国の呵呵君
Saturday, September 23, 2017
[LeetCode]Palindrome Number
不需要用reverse或者转换成string的方法。每次取头尾两个数比较即可,常数空间,linear time,代码如下:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment