Monday, 18 April 2016

Week 6

This week we started looking at recursion. I've seen recursion before but hopefully we will look at it with greater depth. I was interested in seeing recursion implemented with list comprehension. I find it a clear and concise way of dealing with a recursive problem. Recursion is useful in many situations such as implementations of powers and multiplication.  It can be used when a problem is best solved by repeating a process on each extension of the problem.

No comments:

Post a Comment