![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 81
Sherrysw
这个作者很懒,什么都没留下…
展开
-
leetcode python 169. Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority element al原创 2017-08-17 21:09:58 · 183 阅读 · 0 评论 -
leetcode Python 167. Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two number原创 2017-08-16 16:36:57 · 271 阅读 · 0 评论