Content deleted Content added
Quuxplusone (talk | contribs) m ←Undid revision 109745705 by 192.146.101.24 (talk) |
|||
Line 2:
==Recursive algorithms==
A common method
Virtually all [[programming language]]s in use today allow the direct specification of recursive functions and procedures. When such a function is called, the computer (for most languages on most stack-based architectures) or the language implementation keeps track of the various instances of the function (on many architectures, by using a [[call stack]], although other methods may be used). Conversely, every recursive function can be transformed into an iterative function by using a [[stack (data structure)|stack]].
|