![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Greedy
ljffdream
这个作者很懒,什么都没留下…
展开
-
【Leetcode】Gas Station
【题目】 There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from sta转载 2015-07-21 21:00:23 · 244 阅读 · 0 评论 -
【Leetcode】Jump Game 1,2
【题目】 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. You转载 2015-08-26 10:27:45 · 272 阅读 · 0 评论