- 博客(2)
- 收藏
- 关注
原创 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 191
原创 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 279
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人