Keep It Simple, Stupid | |
PerlMonks |
Re: sort with fewest movesby belg4mit (Prior) |
on Feb 10, 2002 at 18:27 UTC ( [id://144487]=note: print w/replies, xml ) | Need Help?? |
For some reason this reminded me of the [id://Hanoi|Towers of Hanoi].
There are of course some differences
(slots<n in Hanoi, no swapping either {jlongino++}),
but they do seem to be rather similar.
--
In Section
Seekers of Perl Wisdom
|
|