The towers of Hanoi: yet another nonrecursive solution

  • Authors:
  • Bleicke Eggers

  • Affiliations:
  • Technische Universität Berlin, Berlin

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

Another nonrecursive algorithm for The towers of Hanoi Problem is presented. It serves to compute the disk configuration from a given move number and the disk to be moved together with its current peg and target. The procedure gives rise to detect faults in erroneous computations.