摘要: Question: 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 along 阅读全文
posted @ 2016-02-24 20:56 江湖小妞 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Question: Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The l 阅读全文
posted @ 2016-02-24 15:27 江湖小妞 阅读(502) 评论(0) 推荐(0) 编辑
摘要: Question: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Retur 阅读全文
posted @ 2016-02-24 13:44 江湖小妞 阅读(203) 评论(0) 推荐(0) 编辑