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 Jan 16 10:34:44 2018.
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: https://www.nist.gov/dads/HTML/iteration.html