摘要: Minimum Path Sum Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers 阅读全文
posted @ 2017-07-11 16:02 Little_Lu 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Interleaving String Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 阅读全文
posted @ 2017-07-11 14:58 Little_Lu 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Say 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 comple 阅读全文
posted @ 2017-07-11 10:23 Little_Lu 阅读(164) 评论(0) 推荐(0) 编辑