
LeetCode
文章平均质量分 66
Mars_J
这个作者很懒,什么都没留下…
展开
-
【LeetCode刷题记录】1.Two Sum解法与Hashmap的应用
LeetCode刷题记录 1.Two Sum知识要点:Hashmap原创 2017-04-24 14:44:45 · 994 阅读 · 0 评论 -
【LeetCode刷题记录】7.Reverse Integer
【LeetCode刷题记录】7. Reverse Integer原创 2017-04-25 20:05:02 · 424 阅读 · 0 评论 -
【LeetCode刷题记录】9. Palindrome Number
Description:Determine whether an integer is a palindrome. Do this without extra space.这道题目实现并不难,但题目要求空间复杂度为O(1), 有一定的技巧性。Solutions:Solution 1:public boolean isPalindrome(int x) { int palindrome原创 2017-04-26 22:25:47 · 421 阅读 · 0 评论