随笔分类 -  动态规划

摘要:Longest Palindromic Subsequence 题解 题目来源:https://leetcode.com/problems/longest palindromic subsequence/description/ Description Given a string s, find 阅读全文
posted @ 2018-04-10 17:01 言何午 阅读(111) 评论(0) 推荐(0)
摘要:Combination Sum 系列题解 题目来源:https://leetcode.com/problems/combination sum/description/ Description Given a set of candidate numbers ( C ) (without dupli 阅读全文
posted @ 2018-02-04 19:54 言何午 阅读(163) 评论(0) 推荐(0)
摘要:Letter Combinations of a Phone Number 题解 题目来源:https://leetcode.com/problems/letter combinations of a phone number/description/ Description Given a dig 阅读全文
posted @ 2018-02-01 10:31 言何午 阅读(148) 评论(0) 推荐(0)
摘要:Generate Parentheses 题解 题目来源:https://leetcode.com/problems/generate parentheses/description/ Description Given n pairs of parentheses, write a functio 阅读全文
posted @ 2018-01-31 15:36 言何午 阅读(135) 评论(0) 推荐(0)
摘要:Decode Ways 题解 题目来源:https://leetcode.com/problems/decode ways/description/ Description A message containing letters from is being encoded to numbers u 阅读全文
posted @ 2018-01-28 19:47 言何午 阅读(144) 评论(0) 推荐(0)
摘要:Climbing Stairs 题解 题目来源:https://leetcode.com/problems/climbing stairs/description/ Description You are climbing a stair case. It takes n steps to reac 阅读全文
posted @ 2018-01-28 17:17 言何午 阅读(112) 评论(0) 推荐(0)
摘要:Maximum Subarray 题解 题目来源:https://leetcode.com/problems/maximum subarray/description/ Description Find the contiguous subarray within an array (contain 阅读全文
posted @ 2018-01-28 16:25 言何午 阅读(108) 评论(0) 推荐(0)
摘要:Unique Binary Search Trees II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique binary search trees ii/description/ Description Given an integer 阅读全文
posted @ 2018-01-23 22:15 言何午 阅读(117) 评论(0) 推荐(0)
摘要:Unique Paths II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique paths ii/description/ Description Follow up for "Unique Paths": Now consider if 阅读全文
posted @ 2017-11-23 21:17 言何午 阅读(92) 评论(0) 推荐(0)
摘要:Unique Paths 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique paths/description/ Description A robot is located at the top left corner of a m x 阅读全文
posted @ 2017-11-22 20:40 言何午 阅读(99) 评论(0) 推荐(0)
摘要:Word Break II 题解 题目来源:https://leetcode.com/problems/word break ii/description/ Description Given a non empty string s and a dictionary wordDict contai 阅读全文
posted @ 2017-11-03 20:23 言何午 阅读(131) 评论(0) 推荐(0)
摘要:Minimum Path Sum 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/minimum path sum/description/ Description Given a m x n grid filled with non negative 阅读全文
posted @ 2017-11-01 20:54 言何午 阅读(103) 评论(0) 推荐(0)
摘要:Word Break 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/word break/description/ Description Given a non empty string s and a dictionary wordDict co 阅读全文
posted @ 2017-11-01 19:36 言何午 阅读(117) 评论(0) 推荐(0)
摘要:Edit Distance 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/edit distance/description/ Description Given two words word1 and word2, find the minimum 阅读全文
posted @ 2017-10-28 09:55 言何午 阅读(81) 评论(0) 推荐(0)
摘要:Triangle 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/triangle/description/ Description Given a triangle, find the minimum path sum from top to bot 阅读全文
posted @ 2017-10-27 00:13 言何午 阅读(121) 评论(0) 推荐(0)