leetCode
insomnia的祝福
工欲善其事,必先利其器,先学好基础最重要
展开
-
Find Minimum in Rotated Sorted Array
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. You may assume no duplicate exists in原创 2016-06-14 17:26:48 · 223 阅读 · 0 评论 -
Palindrome Number(回文数字)
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of convertin原创 2016-06-16 15:40:21 · 252 阅读 · 0 评论