I want to learn DP. From where should i start?

I want to learn DP. From where should i start?
In january Long 2020 i couldn’t attempt WIPL .
I want to learn Dynamic Programming. Can you please guide me, from where should i start.?

2 Likes

I think using codeforces problemset will help. Filter by dp and solve many dp problems. You can study and understand dp but the experience you gain from practicing is worth while. Some googling should also be fine. I couldn’t solve WIPL myself and I’m also going to start doing some problemset on codeforces.

2 Likes

Recursion

4 Likes

I should start with recursion, then move to dp?

1 Like

By recursion you can score 30 points in WIPL but you will get TLE in the second part. So you can start with recursion and later go on to learn dynamic programming.

1 Like

Do cses DP section and atcoder educational DP first. Complete it. Then you can go solve codeforces/codechef problems of DP category

4 Likes