
recursion ka infinite loop
how do i get better at recursion recursion recursion recur.......

Whatever you do, Please never use it in production grade code 🙏.

nah, for leetcode

Wait.....look around internals of any language parsing and any OS function, any DB search, they will implement recursion. The IP routing to this message in grapevine server will implement trie mostly which is implemented using recursion.
It is a pity that data structure learning is limited to interview cracking only which is absolutely evident from the interviews I take for senior/ lead roles


😭😏

First step to implement recursion: Think about the exit condition and chances where your exit condition is not called.

There is no shortcut to recursion.
Sit down
Try... Fail... Think...
Try again
Failed again?
Go watch striver recursion playlist on yt
Internalize it
Try again and fail again
This is my journey, but the playlist is good. You can start there and remember to understand or die trying
All the best

yea i do go through his videos, real gem. Thanks for the advice, will try not giving up.
