+ 1
Dynamic programming
How to approach DP problems ?. Give a simple explanation on how to construct and approach dynamic programming.
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.
+ 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.
+ 1
Thanks but Is there a general way to attack those problems or is it all about experience coming from practice ? lvl 1 crook