缺失
文章平均质量分 72
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 268. Missing Number(缺失数字)
原题网址:https://leetcode.com/problems/missing-number/Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given n原创 2016-04-11 02:15:40 · 1379 阅读 · 0 评论 -
LeetCode 163. Missing Ranges(缺失区间)
原题网址:https://leetcode.com/problems/missing-ranges/Given a sorted integer array where the range of elements are [lower, upper] inclusive, return its missing ranges.For example, given [0, 1, 3原创 2016-05-25 01:40:33 · 2301 阅读 · 0 评论 -
LeetCode 41. First Missing Positive(查找缺失的正数)
原题网址:https://leetcode.com/problems/first-missing-positive/Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] retur原创 2016-05-20 10:41:19 · 445 阅读 · 0 评论