need guide/advice to tackle recursive/dp problems in general
Anonymous User
3776

Hi Team,
i have asked this question on interview experiences thread purposely, as i think people come here more often than other tabs.
I have been solving leetcode problems since April, till now i am able to solve ~250 question(easy and mediums).
I face lot of difficulties in solving recursion problems, i could figure out problem requires a recursive algorithm but fail to implement.
I could solve only 2 questions in leetcode contest every week as Q 3 and Q 4 are mostly either dp or recursive.
I get lost in recursive tree or my mind get stuck imagining recursive stack;/ from when the call will resume? / what was the outcome of previous call.?
to overcome this problem, i started solving basic qs like fibonacci/tree travelsals/matrix paths but it dint worked out as i tend to memorize the solution which is not good.

Need geninue advice to overcome this and become a good coder.
appreciate the help!!

Comments (4)