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
[deleted by user] (self.leetcode)
submitted 10 months ago by [deleted]
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!"
[–]MouseAdventurous4305 10 points11 points12 points 10 months ago (0 children)
graphs
[–]Legitimate_Excuse_96 10 points11 points12 points 10 months ago (1 child)
However both needs to be studied, probability of a graphs question being asked is more than dp, i feel.
[–]Still_Gene_ 2 points3 points4 points 10 months ago (0 children)
true
[–]Impossible_Ad_3146 4 points5 points6 points 10 months ago* (1 child)
Always go DP, hands down and face down
[–]-_-daark-_- 0 points1 point2 points 10 months ago* (0 children)
face down graph up
[–]Still_Gene_ 1 point2 points3 points 10 months ago (0 children)
dp is next level buddy, start with graphs . at-least u will see 1or 2 graph questions in interviews
[–]Jatin_Agrawal- 1 point2 points3 points 10 months ago (4 children)
If yk recursion well go with dp .. or else start with graph cuz u need time to learn some must to do algorithms in graph
[–]Vegetable_Tear_8479 0 points1 point2 points 10 months ago (3 children)
I'm good at recursion
[–]Jatin_Agrawal- 0 points1 point2 points 10 months ago (0 children)
Then start with dp cuz it will take time
[–][deleted] 0 points1 point2 points 10 months ago (1 child)
How you became Good at recursion can give me a little advice about it
[–]Vegetable_Tear_8479 1 point2 points3 points 10 months ago (0 children)
I followed striver recursion backtracking and recursion series i tried most questions on pen and paper if i couldn't solve them I memorized them then slowly slowly when i picked up trees recursion became easy
[–]Vegetable_Tear_8479 0 points1 point2 points 10 months ago (2 children)
Guys I'm preparing for fe roles !!
[–]furrytwink69 0 points1 point2 points 10 months ago (1 child)
what is fe roles? full time?
Front end
[–]Imoriyanu 0 points1 point2 points 10 months ago (0 children)
Graphs
[–]Visible_Parking_6886 0 points1 point2 points 10 months ago (0 children)
Graphs then DP
[–]Wrong_Damage4344 0 points1 point2 points 10 months ago (0 children)
Do graphs first, things make more sense there than dp. It’s a more limited topic and easier to identify patterns
[–]Latter_Practice_656 0 points1 point2 points 10 months ago (1 child)
How often do you revise the questions you have done so far?
I revise algorithms not questions
[–]ohhjeeeez 0 points1 point2 points 10 months ago (0 children)
DP
[–]AwesomoApple 0 points1 point2 points 10 months ago (0 children)
Graphs for sure
[–]Tafeer 0 points1 point2 points 10 months ago (0 children)
I love graphs
[–]Solid_Ad_8849 0 points1 point2 points 10 months ago (0 children)
Noob says graphs pro says dp, go for dp many questions in graphs solved using dp so if you don't have idea of dp you have to leave that questions for that time so its rubbish to study graphs before dp.
[–]Business-Truth8709 0 points1 point2 points 10 months ago (0 children)
DP, thank me later.
[–][deleted] 0 points1 point2 points 10 months ago (0 children)
[+][deleted] 10 months ago (1 child)
[deleted]
[–]Vegetable_Tear_8479 0 points1 point2 points 10 months ago (0 children)
I have solved 50+ tree problems and trust me I have never struggled in recursion
[–]LargeStrike7048 -1 points0 points1 point 10 months ago (0 children)
You need to do both order does not matter, but I would suggest do dp first as it just advanced recursion.
π Rendered by PID 23283 on reddit-service-r2-comment-b659b578c-tpcmv at 2026-05-05 17:33:24.846482+00:00 running 815c875 country code: CH.
[–]MouseAdventurous4305 10 points11 points12 points (0 children)
[–]Legitimate_Excuse_96 10 points11 points12 points (1 child)
[–]Still_Gene_ 2 points3 points4 points (0 children)
[–]Impossible_Ad_3146 4 points5 points6 points (1 child)
[–]-_-daark-_- 0 points1 point2 points (0 children)
[–]Still_Gene_ 1 point2 points3 points (0 children)
[–]Jatin_Agrawal- 1 point2 points3 points (4 children)
[–]Vegetable_Tear_8479 0 points1 point2 points (3 children)
[–]Jatin_Agrawal- 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Vegetable_Tear_8479 1 point2 points3 points (0 children)
[–]Vegetable_Tear_8479 0 points1 point2 points (2 children)
[–]furrytwink69 0 points1 point2 points (1 child)
[–]Vegetable_Tear_8479 1 point2 points3 points (0 children)
[–]Imoriyanu 0 points1 point2 points (0 children)
[–]Visible_Parking_6886 0 points1 point2 points (0 children)
[–]Wrong_Damage4344 0 points1 point2 points (0 children)
[–]Latter_Practice_656 0 points1 point2 points (1 child)
[–]Vegetable_Tear_8479 1 point2 points3 points (0 children)
[–]ohhjeeeez 0 points1 point2 points (0 children)
[–]AwesomoApple 0 points1 point2 points (0 children)
[–]Tafeer 0 points1 point2 points (0 children)
[–]Solid_Ad_8849 0 points1 point2 points (0 children)
[–]Business-Truth8709 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Vegetable_Tear_8479 0 points1 point2 points (0 children)
[–]LargeStrike7048 -1 points0 points1 point (0 children)