leetcode
文章平均质量分 64
晴天小猪nju
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【leetcode】Unique Binary Search Trees II
leetcode DP原创 2015-06-13 21:19:37 · 447 阅读 · 0 评论 -
【LeetCode】Container With Most Water
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find t原创 2015-02-06 15:20:08 · 435 阅读 · 0 评论 -
【LeetCode】Remove Nth Node From End of List
题目: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the e原创 2015-02-05 16:58:41 · 398 阅读 · 0 评论 -
【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 stat原创 2015-06-14 10:58:56 · 520 阅读 · 0 评论
分享