The search functionality is under construction.

IEICE TRANSACTIONS on Information

An Optimal Algorithm for Solving the Towers of Hanoi Problem with the Least Storage Used

Yu-Kumg CHEN, Chen-An FANG, Fan-Chieh CHENG

  • Full Text Views

    0

  • Cite this

Summary :

The Towers of Hanoi problem is a classical problem in puzzles, games, mathematics, data structures, and algorithms. In this letter, a least memory used algorithm is proposed by combining the source array and target array for comparing the sizes of disk and labeling the disks in the towers of Hanoi problem. As a result, the proposed algorithm reduces the space needed from 2n+2 to n+5, where n represents the disks number.

Publication
IEICE TRANSACTIONS on Information Vol.E94-D No.2 pp.240-242
Publication Date
2011/02/01
Publicized
Online ISSN
1745-1361
DOI
10.1587/transinf.E94.D.240
Type of Manuscript
Special Section LETTER (Special Section on Foundations of Computer Science -- Mathematical Foundations and Applications of Algorithms and Computer Science --)
Category

Authors

Keyword