You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Accumulators

Accumulation of a result is a very useful way to view algorithms that traverse data structures. All recursive algorithms on recursive data types, e.g. lists and trees, can be viewed as accumulator algorithms.

  • No labels