9
Views
0
CrossRef citations to date
0
Altmetric
Original Articles

A Minimal Space Algorithm for Solving the Towers of Hanoi Problem

Pages 183-191 | Received 01 Jul 1987, Published online: 18 Jun 2013
 

Abstract

This paper discusses a derivation of a minimal space algorithm for solving the Towers of Hanoi problem by using a virtual disc which is smaller than the smallest real disc. The space complexity of this algorithm is ~ n bits, and is better than that of the improved recursive version, whose space complexity is ~2n storage locations. Moreover, its storage space required is minimal, and is better than other iterative versions which necessitate the recording of peg information in order to determine which peg a disc is resting on.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.