Definition: Solve a problem by repeatedly working on successive parts of the problem.
See also recursion.
See dynamic algorithms for an example of one trade-off between speed and clarity for a recursive vs. an iterative implementation.
If you have suggestions, corrections, or comments, please get in touch with Paul Black.
Entry modified 27 October 2005.
HTML page formatted Tue May 6 13:48:55 2014.
Cite this as:
Paul E. Black, "iteration", in Dictionary of Algorithms and Data Structures [online], Vreda Pieterse and Paul E. Black, eds. 27 October 2005. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/iteration.html