Content deleted Content added
added some information |
No edit summary |
||
Line 45:
Here is another, perhaps simpler way to understand recursive processes:
#Are we done yet? If so, return the results.
#If not, ''simplify'' the problem and send it to 1.
Virtually all [[programming language|programming languages]] in use today allow the direct specification of recursive functions and procedures. When such a function is called, the computer keeps track of the various instances of the function by using a [[stack]]. Conversely, every recursive program can be transformed into an interative program by using a stack.
|