二分值法
文章平均质量分 77
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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-05-25 01:37:08 · 1663 阅读 · 0 评论 -
LeetCode 287. Find the Duplicate Number(找重复数字)
原题网址:https://leetcode.com/problems/find-the-duplicate-number/ Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate nu原创 2016-04-15 07:02:18 · 3060 阅读 · 1 评论
分享