
快速排序
文章平均质量分 62
小榕流光
这个作者很懒,什么都没留下…
展开
-
[leetcode] 169. Majority Element 解题报告
题目链接:https://leetcode.com/problems/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 as原创 2016-01-04 12:36:39 · 495 阅读 · 0 评论 -
[leetcode] 179. Largest Number 解题报告
题目链接:https://leetcode.com/problems/largest-number/ Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest原创 2016-02-04 07:03:30 · 872 阅读 · 0 评论