Recursive Functions Exercises

Hi. Requesting some problems that will require me to code recursive functions as I am not sure I understand them completely. Thanks.
try printing an array backwards.
- Compute the factorial of a number
- Compute the Fibonacci series for any given number
- Determine the number of nodes in a binary search tree
- Compute the height of a binary search tree
- Given a string, reverse the contents of the string in-place

And many more found here:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-189-a-gentle-introduction-to-programming-using-python-january-iap-2011/lectures/MIT6_189IAP11_rec_problems.pdf

Last edited on
thank you.
Topic archived. No new replies allowed.