LeetCodeCampsDay43动态规划part10
https://leetcode.cn/problems/longest-increasing-subsequence/
共 55 篇文章
https://leetcode.cn/problems/longest-increasing-subsequence/
https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-cooldown/
https://leetcode.cn/problems/best-time-to-buy-and-sell-stock/
https://leetcode.cn/problems/house-robber/
https://leetcode.cn/problems/coin-change/
https://leetcode.cn/problems/last-stone-weight-ii/
背包问题可以分成01背包/完全背包/多重背包与分组背包;
https://leetcode.cn/problems/unique-paths/
在关于贪心算法,你该了解这些! (opens new window)中我举了一个背包问题的例子。
https://leetcode.cn/problems/merge-intervals/
https://leetcode.cn/problems/minimum-number-of-arrows-to-burst-balloons/
https://leetcode.cn/problems/gas-station/
https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii/
贪心的本质是选择每一阶段的局部最优,从而达到全局最优。
https://leetcode.cn/problems/non-decreasing-subsequences/
https://leetcode.cn/problems/restore-ip-addresses/
https://leetcode.cn/problems/combination-sum/
回溯法也可以叫做回溯搜索法,它是一种搜索的方式。
https://leetcode.cn/problems/trim-a-binary-search-tree/
https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-search-tree/
第 2 / 3 页