Exchanging disks in the tower of hanoi

Autor: Patrick J. Rodriguez, Cyrus R. Eyster, Matthew T. Harrison, Joseph R. Simmons, Paul K. Stockmeyer, James W. Clark, Nicholas A. Loehr, C. Douglass Bateman
Rok vydání: 1995
Předmět:
Zdroj: International Journal of Computer Mathematics. 59:37-47
ISSN: 1029-0265
0020-7160
Popis: We examine a variation of the famous Tower of Hanoi puzzle posed but not solved in a 1944 paper by Scorer et al. [5]. In this variation, disks of adjacent sizes can be exchanged, provided that they are at the top of their respective stacks. We present an algorithm for solving this variation, analyze its performance, and prove that it is optimal. Several exercises are listed at the end, ranging in difficulty from elementary to research level.
Databáze: OpenAIRE