+ 1

Dynamic programming

How to approach DP problems ?. Give a simple explanation on how to construct and approach dynamic programming.

8th Jul 2020, 4:23 PM
PIYUSH BHARAMBE
PIYUSH BHARAMBE - avatar
3 Answers
+ 3
you can search on a lot of competitive programming websites for dp problems. most of them will be about travelling salesman, knapsack, and some memoization techniques. u can find a lot of tutorials about that in the internet.
8th Jul 2020, 4:32 PM
Shen Bapiro
Shen Bapiro - avatar
+ 3
yes, mostly what will be shown on tutorials are theory on solving them and examples. but once you're doing competitive programming yourself, you will need critical thinking on what algorithms to use and how to implement it yourself on this problem.
8th Jul 2020, 4:45 PM
Shen Bapiro
Shen Bapiro - avatar
+ 1
Thanks but Is there a general way to attack those problems or is it all about experience coming from practice ? lvl 1 crook
8th Jul 2020, 4:38 PM
PIYUSH BHARAMBE
PIYUSH BHARAMBE - avatar