动态规划
哎-哭泣的鱼
这个作者很懒,什么都没留下…
展开
-
【LeetCode】Best Time to Buy and Sell Stock I && II && III
1、Best Time to Buy and Sell Stock Total Accepted: 7973 Total Submissions: 25534 My SubmissionsSay you have an array for which the ith element is the price of a given stock on day i.If you were o原创 2014-02-18 16:23:16 · 5422 阅读 · 0 评论 -
【LeetCode】Unique Paths I && II
1、Unique Paths Total Accepted: 9902 Total Submissions: 32535 My SubmissionsA robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move原创 2014-04-21 11:21:16 · 859 阅读 · 0 评论 -
【LeetCode】Minimum Path Sum
Minimum Path Sum Total Accepted: 8701 Total Submissions: 28712 My SubmissionsGiven a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum原创 2014-04-18 22:33:10 · 699 阅读 · 0 评论