leetcode
文章平均质量分 77
mumenwo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Leetcode Jump Game
Problem: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.原创 2014-04-14 17:05:02 · 512 阅读 · 0 评论 -
Leedcode Max Points on a Line
1.Description2.Analyse3.Enhancement原创 2014-04-16 11:49:33 · 612 阅读 · 0 评论 -
[LeetCode] Reorder List
1.DescriptionGiven a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4}, reo原创 2014-04-18 11:04:12 · 592 阅读 · 0 评论 -
[leetcode] Best Time to Buy and Sell Stock II
1.DescriptionSay you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as y原创 2014-04-17 11:29:14 · 573 阅读 · 0 评论 -
[LeetCode] Evaluate Reverse Polish Notation
1, DescriptionEvaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another expression.Some exampl原创 2014-05-12 11:29:37 · 514 阅读 · 0 评论
分享