logo
Algorithms study cheatsheets

Coding interview 的 Dynamic programming cheatsheet

Dynamic programming 学习指南,包含练习题、技巧、时间复杂度与推荐资源

Introduction

Dynamic Programming(DP)通常用于优化问题。提升 DP 的唯一方法是大量练习,需要一定练习量才能更快识别问题是否可用 DP 解决。

Learning resources

Techniques

并非所有情况都需要把完整 DP table 放到内存里,很多时候只需要最后两个值或矩阵的最后两行即可。

Essential questions

这些是该 topic 必练题。

这些是在掌握基础后推荐练习的题目。

Grokking Dynamic Programming Patterns for Coding Interviews

Brought to you by the same folks behind the famous "Grokking the Coding Interview", this is one of the rare few courses focused on helping you get better at Dynamic Programming questions. If you are interviewing for companies who are famous for asking Dynamic Programming questions (-cough- Google -cough-), this course should be helpful.

检测你的掌握度

3
1/3

Q1. 动态规划与普通递归的关键区别是?

相关练习题

Coding interview 的 Dynamic programming cheatsheet

暂无相关练习题