Thursday 14 July 2011

Algorithm

. Recursive Algorithm:
A recursive function is a function that is defined in terms of it self. Similarly an algorithm is said to be recursive if the same algorithm is invoked in the body. An algorithm that calls itself is direct recursive.
Algorithm A is said to be indirect recursive if it calls another algorithm, which in turn calls A.

No comments:

Post a Comment