Tuesday, October 8, 2013

Recursion and Recursion and Recursion and Recursion

Recursion is solving a problem by the same method applied over and over to solve smaller parts. Coders can make recursive functions that call themselves. Recursion can be useful for computer scientists. Computer scientists should definitely learn recursion, but they need not apply it. Any problem solved by recursive functions can be solved alternatively say with loops. Recursion is especially useful for nested data such as with trees. I wait to see how useful recursion can be.

No comments:

Post a Comment