I try to be better in dp and saw so much videos and I am still not good in dp I try to solve problems but I find it hard to come up with a dp solution
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 151 |
I try to be better in dp and saw so much videos and I am still not good in dp I try to solve problems but I find it hard to come up with a dp solution
Name |
---|
Only Solution: Practice more problems. Keep the ideas in mind. Repeat.
thx for your reply and advice
Something that helped me is that I stopped looking at tutorials and videos on "How to get good at DP?" and started working more on problems. It gets very easy to get caught in the "Tutorial Loop" and not practice enough.
Also it is slightly tough to grasp to concept of building recurrences but don't worry you'll get it eventually.
thx for your reply and advice
I am not a pro at dp but what has worked for me is to come up with a brute force solution and see what you are calculating again and again. Then memorize that aspect of the problem. I dunno if it works everywhere but it can be your starting point.
The main thing is to learn to understand where dp is)
ok ok ok ok ive seen "how to get better at DP" blogs for years at this point. It, and hear me out, MIGHT be a good idea to use the search bar at the top right and search up: "dynamic programming" and search to find the answer you need.
thx for your reply sry I will use it next time.
Just solve more and more problems. I think that this problems can help you to be better in dp :
https://codeforces.net/contest/1096/problem/D
https://codeforces.net/problemset/problem/474/D
https://codeforces.net/problemset/problem/429/B
https://codeforces.net/contest/118/problem/D
https://codeforces.net/contest/467/problem/C
https://codeforces.net/contest/1583/problem/C
https://codeforces.net/contest/1437/problem/C
https://codeforces.net/contest/1355/problem/C
https://codeforces.net/contest/466/problem/C
thx
firstly learn those 20 to 30 standard dp problem after that start practicing and try to relate each dp problem solution with standard problems,you will notice generally the same concepts repeat(eg if you like recursive dp then try to solve each dp problem in recursive way or lookout for some recursive solution and same for iterative) . if you want to practice dp, solve it through dp+constructive+greedy tag so it will teach you to differentiate between greedy and dp
i feel this should work ,please correct me if i am wrong at some points