Notes on recursion elimination

  • Authors:
  • R. S. Bird

  • Affiliations:
  • Univ. of Reading, Reading, England

  • Venue:
  • Communications of the ACM
  • Year:
  • 1977

Quantified Score

Hi-index 48.25

Visualization

Abstract

Various methods of recursion elimination are applied to the schematic recursive procedure:proc S(x); px then N(x); S(ƒx); S(gx); M(x) fi. Procedures with this general form arise in connection with tree traversal and sorting algorithms. Each method of recursion removal involves the use of one or more stacks, and the solutions are compared on the basis of their running time.