贪心
文章平均质量分 86
sscssz
这个作者很懒,什么都没留下…
展开
-
55. Jump Game 【M】【66】
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Determine原创 2016-04-28 13:43:06 · 456 阅读 · 0 评论 -
【leetcode】452. Minimum Number of Arrows to Burst Balloons【M】
There are a number of spherical balloons spread in two-dimensional space. For each balloon, provided input is the start and end coordinates of the horizontal diameter. Since it's horizontal, y-coordin原创 2016-11-07 16:24:52 · 546 阅读 · 0 评论 -
【leetcode】【M】406. Queue Reconstruction by Height【95】
Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the person and k is the number of people in front of t原创 2016-11-09 14:10:22 · 359 阅读 · 0 评论 -
【leetcode】455. Assign Cookies【E】
Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is the minimum size of a c原创 2016-11-16 11:04:10 · 550 阅读 · 0 评论 -
【leetcode】435. Non-overlapping Intervals【M】
Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping. Note: You may assume the interval's end point is alw原创 2016-11-18 10:18:20 · 439 阅读 · 0 评论