skip to main content
article
Free access

The towers of Hanoi: yet another nonrecursive solution

Published: 01 September 1985 Publication History

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.

References

[1]
P. J. Hayes, A Note on the Towers of Hanoi Problem, The Computer Journal Vol. 20.3 (1977)
[2]
P. Buneman and L. Levy, The Towers of Hanoi Problem, Information Processing Letters, Vol. 10.4, 5 (1980)
[3]
H. Mayer and D. Perkins, Towers of Hanoi Revisited, A Nonrecursive Surprise, SIGPLAN NOTICES, Vol. 19.2 (1984)
[4]
T. F. Hudson, Jr., Letter to the Editor, SIGPLAN NOTICES, Vol. 19.8 (1984)
[5]
W. R. Franklin, A Simpler Iterative Solution to the Towers of Hanoi Problem, SIGPLAN NOTICES, Vol. 19.8 (1984)
[6]
M. Stadel, Another Nonrecursive Algorithm for the Towers of Hanoi, SIGPLAN NOTICES, Vol. 19.9 (1984)
[7]
P. J. Floriani, Letter to the Editor, SIGPLAN NOTICES, Vol. 19.12 (1984)
[8]
B. Meyer, A Note on Iterative Hanoi, SIGPLAN NOTICES, Vol. 19.12 (1984)
[9]
G. Birtwistle, The Coroutines of Hanoi, SIGPLAN NOTICES, Vol. 20.1 (1985)

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 20, Issue 9
August 1985
84 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/988364
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 September 1985
Published in SIGPLAN Volume 20, Issue 9

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)38
  • Downloads (Last 6 weeks)5
Reflects downloads up to 09 Feb 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media