Towers of Hanoi problems: deriving iterative solutions by program transformations

From MaRDI portal





The author presents the derivation of the iterative solutions for the Towers of Hanoi problems starting from the recursive solutions. Various kinds of problems are considered: the standard one, the clockwise and the anticlockwise one, and the generalized one. The derived algorithms have optimal time x space performances. Their derivation implicitly gives the proof of their correctness.











This page was built for publication: Towers of Hanoi problems: deriving iterative solutions by program transformations

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1067772)