- 博客(2)
- 收藏
- 关注
转载 Leetcode.154.Find Minimum in Rotated Sorted Array II
今天是03/01.说实话,我个人非常讨厌二分搜索的题目,原因在于变种的二分搜索总是要理清楚不同情况下的+1,-1 事实上我觉得我可能从来没有愿意去弄清楚,所以在处理这种题目的时候,我一般都很随缘。 描述: Suppose an array sorted in ascending order is rotated at some pivot unknown to you be...
2017-03-01 20:21:00
101
转载 Leetcode.448.Find All Numbers Disappeared in an Array
今天是2/20.记录一道题目,Leetcode448,easy,但可能没见过,卡了一会。 描述: Given an array of integers where 1 ≤ a[i] ≤n(n= size of array), some elements appear twice and others appear once. Find all the elem...
2017-02-20 20:00:00
133
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅