You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tech-interview-handbook/contents/algorithms/dynamic-programming.md

3.5 KiB

id title description keywords sidebar_label toc_max_heading_level
dynamic-programming Dynamic programming cheatsheet for coding interviews Dynamic programming study guide for coding interviews, including practice questions, techniques, time complexity, and recommended resources
dynamic programming coding interview study guide
dynamic programming tips for coding interviews
dynamic programming practice questions
dynamic programming useful techniques
dynamic programming time complexity
dynamic programming recommended study resources
Dynamic programming 2
<head> </head>

Introduction

Dynamic Programming (DP) is usually used to solve optimization problems. The only way to get better at DP is to practice. It takes some amount of practice to be able to recognize that a problem can be solved by DP.

Learning resources

Techniques

Sometimes you do not need to store the whole DP table in memory, the last two values or the last two rows of the matrix will suffice.

Essential questions

These are essential questions to practice if you're studying for this topic.

These are recommended questions to practice after you have studied for the topic and have practiced the essential questions.

import AlgorithmCourses from '../_courses/AlgorithmCourses.md'

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.