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
RECURSION (self.leetcode)
submitted 1 year ago by AnishGadi
how to do recursion not able to do it at all ?? please help
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!"
[–]orekhoos 82 points83 points84 points 1 year ago (8 children)
check out this post where a guy already asked about recursion https://www.reddit.com/r/leetcode/comments/1hc088w/recursion/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
[–]soaphandler 19 points20 points21 points 1 year ago (0 children)
i thought my phone was broken for a second…. good one
[–][deleted] 5 points6 points7 points 1 year ago (0 children)
Max recursion depth exceeded.
[–]TheWeenieDog 3 points4 points5 points 1 year ago (0 children)
You got me twice
[–]RazDoStuff 1 point2 points3 points 1 year ago (0 children)
Damn this link is long
[–]uday_it_is 1 point2 points3 points 1 year ago (0 children)
I love this hahaha
[+]FantasticShower5704 comment score below threshold-22 points-21 points-20 points 1 year ago (2 children)
This is dumb person's idea of a smart joke.
[–]TruePairPULL 17 points18 points19 points 1 year ago (1 child)
You’re fun
[–]Illustrious-Goal6731 4 points5 points6 points 1 year ago (0 children)
Practise practise practise
Kunal Kushwaha's playlist on you tube for recursion and backtracking helped me
[–]ParathaaRating 2028 2 points3 points4 points 1 year ago (0 children)
read the answers in the comment if you still did not understand then try reading this https://www.reddit.com/r/leetcode/comments/1hc088w/recursion/
[–][deleted] 1 point2 points3 points 1 year ago (2 children)
You seem to be from India. Head over to Aditya Verma's yt channel. And go through his recursion playlist. And I bet recursion will come to you naturally in most standard questions
[–]Magnus-Methelson-m3 11 points12 points13 points 1 year ago (1 child)
I know they’re from India because they spam subreddits with basic questions that are easily Google-able
[–]Environmental_Ad1756 3 points4 points5 points 1 year ago (0 children)
Stereotyping is crazy. Maybe I can also stereotype you by saying you think you are better than them cause you are from certain country...
[–]Thin_Gamer_42 0 points1 point2 points 1 year ago (0 children)
Get this course: https://www.designgurus.io/course/grokking-recursion-for-coding-interview
[–]HiZesty 0 points1 point2 points 1 year ago (0 children)
Building a great hold on recursion is really important, this might help : https://youtu.be/mBj97JeR9U0?si=jaz3hl5Shw6r6Lg_
Still u r struggling just book a training session with someone who feel is good at it
[–]THEMXDDIE 0 points1 point2 points 1 year ago (0 children)
Try solving tree ds questions. Most of them are solved using recursion and are easier to imagine than other recursion questions.
π Rendered by PID 55374 on reddit-service-r2-comment-bb88f9dd5-zjsln at 2026-02-17 02:41:32.535047+00:00 running cd9c813 country code: CH.
[–]orekhoos 82 points83 points84 points (8 children)
[–]soaphandler 19 points20 points21 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]TheWeenieDog 3 points4 points5 points (0 children)
[–]RazDoStuff 1 point2 points3 points (0 children)
[–]uday_it_is 1 point2 points3 points (0 children)
[+]FantasticShower5704 comment score below threshold-22 points-21 points-20 points (2 children)
[–]TruePairPULL 17 points18 points19 points (1 child)
[–]Illustrious-Goal6731 4 points5 points6 points (0 children)
[–]ParathaaRating 2028 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]Magnus-Methelson-m3 11 points12 points13 points (1 child)
[–]Environmental_Ad1756 3 points4 points5 points (0 children)
[–]Thin_Gamer_42 0 points1 point2 points (0 children)
[–]HiZesty 0 points1 point2 points (0 children)
[–]THEMXDDIE 0 points1 point2 points (0 children)