Skip to content

Instantly share code, notes, and snippets.

@saurabh-38
saurabh-38 / dp-study-plan.md
Created January 11, 2022 04:50 — forked from varmas/dp-study-plan.md
Effective LC

From https://leetcode.com/discuss/general-discussion/475924/my-experience-and-notes-for-learning-dp/427348

A littile bit of my history of learning DP

DP has always been an obstacle when preparing for interviews. For me it is one of the hardest topic. There were several times in the past that I tried to master it, but all attempts failed. Either because I could not find good resources, or because I did not have enough time to really dive into it, have a lot of practice, and identify different patterns. To tell the truth, I even feared that I would never be able to understand it well.

This winter I had another attempt, and made up my mind to grasp the techique. I solved/read 45 DP problems of different patterns in 4 days (yes, you might think that is quite slow). At the begining, I struggled as much as all my previous attempts, but slowly I found I am getting better and I start to be able to think in the DP-way. Today I solved several problems independently, with memoization and tabulation and even spac