re: What makes recursion hard VIEW POST

FULL DISCUSSION
 

You could add a debugger at the top inside your function and run it in chrome to see how the functions are added and popped from the stack.
Also, track the return value at each stage.

Remember, start small.
Start learning about recursion with the most basic example(maybe factorials).

Finally, patience, research and practice.

All the best

 
code of conduct - report abuse