DP Tutorial and Problem List
Difference between en1 and en2, changed 123 character(s)
Today I've listed some DP tutorials and problems. Actually, I made it for my personal practice. But I think It may Help others too.↵

**Note: If you have some other tutorial links and nice problems, mention them. I'll add them here. It'll help me too.**↵

## Dynamic programming:↵

1. [Topcoder Tutorial](https://www.topcoder.com/community/competitive-programming/tutorials/dynamic-programming-from-novice-to-advanced/)↵
2. [Dynamic Programming,from novice to advanced](https://www.cnblogs.com/drizzlecrj/archive/2007/10/26/939159.html)↵
3. [Learn DP and other tricks](https://www.codechef.com/certification/data-structures-and-algorithms/prepare#foundation)↵
4. [Non-trivial DP tricks](https://codeforces.me/blog/entry/47764)↵
5. [Everything about Dynamic Programming](https://codeforces.me/blog/entry/43256)↵
6. [Digit DP 1](https://codeforces.me/blog/entry/53960)↵
7. [some solutions of digit dp problems](https://codeforces.me/blog/entry/7221)↵
8. [digit Dp for product digits](https://codeforces.me/blog/entry/53286)↵
9. [Digit Dp tutorial bangla](http://shakilcompetitiveprogramming.blogspot.com/2015/09/digit-dp.html)↵
10. [Digit DP hackerrank tutorial](https://www.hackerrank.com/topics/digit-dp)↵
11. [Important problems solutions of Digit DP](http://gautamdegitdp.blogspot.com/)↵
12. [DP on trees](https://codeforces.me/blog/entry/20935)↵
13. [DP on trees problem-3](https://codeforces.me/blog/entry/63257)↵
14. [DP on trees](https://www.commonlounge.com/discussion/8573ee40c4cb4673824c867715a5bc7b)↵
15. [A Tricky DP Problem on Trees](http://rachitiitr.blogspot.com/2017/05/a-tricky-dp-problem-on-trees.html)↵
16. [Bitmask DP](https://www.hackerearth.com/practice/algorithms/dynamic-programming/bit-masking/tutorial/)↵
17. [SOS Dp](https://codeforces.me/blog/entry/45223)↵
18. [Sum Over Subsets](https://www.geeksforgeeks.org/sum-subsets-dynamic-programming/)↵
19. [bitmask dp, buildup sos dp](https://algowarehouse.blogspot.com/2018/01/bitmask-dp-buildup-to-sos-dp-pt-2.html)↵
20. [A little bit of classics: dynamic programming over subsets and paths in graphs](https://codeforces.me/blog/entry/337)↵

### Problems related to Dynamic Programming:↵
You have to solve these problems to develop DP skills↵

#### Simple DP Problems:↵
[Lightoj Problems](http://lightoj.com/volume_problemcategory.php?user_id=43745&category=Dynamic%20Programming)↵

[New Year and the Permutation Concatenation](https://codeforces.me/problemset/problem/1091/D)↵

[Multiply](https://codeforces.me/problemset/problem/1061/C)↵

[Stars Drawing(Easy Version)](https://codeforces.me/problemset/problem/1015/E1)↵

[Consecutive Subsequence](https://codeforces.me/problemset/problem/977/F)↵

[substring](https://codeforces.me/problemset/problem/919/D)↵

[permute Digits](https://codeforces.me/problemset/problem/915/C)↵

[Mike and GCD Problem](https://codeforces.me/problemset/problem/798/C)↵

[Mahmud and message](https://codeforces.me/problemset/problem/766/C)↵

[Travel Card](https://codeforces.me/problemset/problem/756/B)↵

[Coloring Trees](https://codeforces.me/problemset/problem/711/C) ↵

[Robbers' Watch](https://codeforces.me/problemset/problem/685/A)↵

[Alyona And the tree](https://codeforces.me/problemset/problem/682/C)↵

[Geometric Progression](https://codeforces.me/problemset/problem/567/C)↵

[Kyoya and balls](https://codeforces.me/problemset/problem/553/A)↵

[soldier and number game](https://codeforces.me/problemset/problem/546/D)↵

[Animals](https://codeforces.me/problemset/problem/35/D)↵

#### Bitmask DP problems:↵

[Problem 1](http://acm.timus.ru/problem.aspx?space=1&num=1152)↵

[Problem 2](http://acm.timus.ru/problem.aspx?space=1&num=1817)↵

[Problem 3](http://acm.sgu.ru/problem.php?contest=0&problem=527)↵

[Problem 4](http://acm.sgu.ru/problem.php?contest=0&problem=536)↵

[problem 5 ](http://codeforces.me/problemset/problem/8/C)↵

[problem 6](http://codeforces.me/problemset/problem/16/E)↵

[problem 7](http://codeforces.me/problemset/problem/71/E)↵

[Problem 8](https://codeforces.me/problemset/problem/1051/D)↵

#### DP on Trees Problems:↵

[Appleman and Trees](https://codeforces.me/contest/461/problem/B)↵

[Counting On Trees](https://www.hackerearth.com/challenges/competitive/march-clash-15/algorithm/counting-on-tree-1/description/)↵

[Rivers](https://www.iarcs.org.in/inoi/online-study-material/problems/rivers.php)↵

[Coffee shop](https://www.iarcs.org.in/inoi/online-study-material/problems/coffee-shop.php)↵

[mobiles](https://www.iarcs.org.in/inoi/online-study-material/problems/mobiles-apio.php)↵

[Binary Apple Tree](http://acm.timus.ru/problem.aspx?space=1&num=1018)↵

[Tree pruning](https://www.hackerrank.com/challenges/tree-pruning/problem)↵

[Anniveersary Problem](http://acm.timus.ru/problem.aspx?space=1&num=1039)↵

[Berland Fedaralization](https://codeforces.me/contest/440/problem/D)↵

#### Some Hard DP Problems:↵

[Complete Mirror](https://codeforces.me/problemset/problem/1182/D)↵

[Destroy it!](https://codeforces.me/problemset/problem/1176/F)↵

[Nauuo and Pictures (easy version)](https://codeforces.me/problemset/problem/1172/C1)↵

[Ehab and the Expected GCD Problem](https://codeforces.me/problemset/problem/1174/E)↵

[And Reachability](https://codeforces.me/problemset/problem/1168/C)↵

[Card Bag](https://codeforces.me/problemset/problem/1156/F)↵

[Leaf Partition](https://codeforces.me/problemset/problem/1146/F)↵

[Sonya and Informatics](https://codeforces.me/problemset/problem/1151/F)↵

[Knapsack](https://codeforces.me/problemset/problem/1132/E)↵

[Power Tree](https://codeforces.me/problemset/problem/1120/D)↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en18 English Ahnaf.Shahriar.Asif 2020-10-17 07:45:11 166
en17 English Ahnaf.Shahriar.Asif 2019-09-20 07:42:18 160
en16 English Ahnaf.Shahriar.Asif 2019-07-24 08:52:14 95 Tiny change: 'eatured)\n* [Basic D' -> 'eatured)\n%* [Basic D'
en15 English Ahnaf.Shahriar.Asif 2019-07-24 08:51:17 96
en14 English Ahnaf.Shahriar.Asif 2019-07-03 16:49:36 96
en13 English Ahnaf.Shahriar.Asif 2019-06-26 04:09:14 165
en12 English Ahnaf.Shahriar.Asif 2019-06-20 18:14:49 85
en11 English Ahnaf.Shahriar.Asif 2019-06-20 12:32:01 75
en10 English Ahnaf.Shahriar.Asif 2019-06-19 17:34:50 60
en9 English Ahnaf.Shahriar.Asif 2019-06-17 04:21:57 98
en8 English Ahnaf.Shahriar.Asif 2019-06-16 17:44:56 2632
en7 English Ahnaf.Shahriar.Asif 2019-06-16 07:29:53 68
en6 English Ahnaf.Shahriar.Asif 2019-06-15 13:35:39 103
en5 English Ahnaf.Shahriar.Asif 2019-06-15 06:25:39 124 Tiny change: '325)\n\n\n\n' -> '325)\n\n\nThank You So Much.\n'
en4 English Ahnaf.Shahriar.Asif 2019-06-14 09:04:44 96
en3 English Ahnaf.Shahriar.Asif 2019-06-14 09:03:00 1265 Tiny change: 'm/766/C)\n10.[Trav' -> 'm/766/C)\n\n10.[Trav'
en2 English Ahnaf.Shahriar.Asif 2019-06-14 07:48:02 123
en1 English Ahnaf.Shahriar.Asif 2019-06-14 07:38:29 5555 Initial revision (published)