
LeetCode
Lsxlsxls
这个作者很懒,什么都没留下…
展开
-
[Java] Reverse Integer
Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:Input: 120Output: 21Note:Assume we are dealing with a...原创 2018-11-02 19:35:36 · 335 阅读 · 0 评论 -
[Java] Palindrome Number
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: trueExample 2:Input: -121Output: falseExplanation...原创 2018-11-02 21:43:29 · 406 阅读 · 0 评论