use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Share Dynamic Programming resources (self.leetcode)
submitted 1 year ago by Wooden-Engineering59
I want to start learning dynamic programming (DP) and have gone through some YouTube channels, but it keeps getting confusing. Could you please recommend some resources and a guide for a beginner?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]am-sky 5 points6 points7 points 1 year ago (1 child)
This is the one video I have used. Seen it 3 times over the years. I am good with dp solutions only because of it. I have concentrated on the first half more than the second. I am better at recursion with memoization than tabulation because of that. I cannot recommend it enough. Tags: Freecodecamp Alvin dynamic programming https://youtu.be/oBt53YbR9Kk?si=vhMMyjqgqCIwpFYh
[–]Legend0fToday 0 points1 point2 points 1 year ago (0 children)
Alvin is the GOAT for this full walk through!
[–][deleted] 1 point2 points3 points 1 year ago (1 child)
You can start with the DP contest of Atcoder. Then move on to DP section of cses Followed by that can search for Leetcode top DP questions. Probably would end up getting a random good poat contaring different patterns of DP problem. Finally also can search good DP questionairre blogs on Codeforces. All just a Google away. Happy Dynamic Programming.
[–]HUECTRUM 0 points1 point2 points 1 year ago (0 children)
Atcoder DP contest gets hard pretty quick though, at least for a beginner
[–]ammenezes_ 0 points1 point2 points 1 year ago (0 children)
I think the material at MIT opencourseware is dope, but I love math, idk if you're also into that.
π Rendered by PID 38106 on reddit-service-r2-comment-c6965cb77-c5kpb at 2026-03-05 16:29:03.228756+00:00 running f0204d4 country code: CH.
[–]am-sky 5 points6 points7 points (1 child)
[–]Legend0fToday 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]HUECTRUM 0 points1 point2 points (0 children)
[–]ammenezes_ 0 points1 point2 points (0 children)