Dynamic programming | Sololearn: Learn to code for FREE!

+1

Dynamic programming

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

7/8/2020 4:23:59 PM

PIYUSH BHARAMBE

3 Answers

New Answer

+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