Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
An optimal algorithm for Reve's puzzle - MaRDI portal

An optimal algorithm for Reve's puzzle (Q1113675)

From MaRDI portal





scientific article; zbMATH DE number 4080931
Language Label Description Also known as
English
An optimal algorithm for Reve's puzzle
scientific article; zbMATH DE number 4080931

    Statements

    An optimal algorithm for Reve's puzzle (English)
    0 references
    0 references
    1988
    0 references
    This paper starts by showing that some recently published algorithms for Reve's puzzle are not optimal. Reve's puzzle is a generalization of the standard Towers of Hanoi whereby the number of pegs is extended from 3 to \(k\geq 2\). A simple and elegant recursive algorithm for solving Reve's puzzle is presented. Its optimality is assured by an algorithm for optimally splitting a tower of n discs into two subtowers. The theoretical basis for doing so is also discussed.
    0 references
    Reve's puzzle
    0 references

    Identifiers