
Recursion šµāš«
Hi Everyone,
I recently started revisiting DSA, but Iām struggling with backtracking and recursion again. I find it difficult to think recursively. When I look at othersā solutions, I can understand them, but Iām having trouble coming up with recursive solutions on my own.
I encountered a similar issue during my college days, which led me to quit DSA back then. Does anyone have any advice or tips on how to improve my recursive thinking and make progress with backtracking?
Thanks in advance!
Talking product sense with Ridhi
9 min AI interview5 questions

Understand fundamental and basic building block of recursion . Start with basic and small recursion method and then refine to make it a little hard in each step.
Another way write method with while loop and try to replace that while loop method with recursion
Thank you , the last tip was golden .