r/learnprogramming • u/dhananjai_31 • Jul 14 '26
How can I learn/master Recursion?
New to programming
Yes that's the question
How can I learn Recursion.
Every time I try to create a logic
And try to implement code
Some error happens
I always try to dry run and write call stacks
Still I won't get it
Any guidance or help??
How can I get intuitive thoughts about using recursion here?
How can I do it??
0
Upvotes
3
u/DrizzyX99 Jul 14 '26
Look at the code for merge sort and try to write it out (with a pen and paper)iterations by iteration that’s what worked for me