Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: sort with fewest moves

by belg4mit (Prior)
on Feb 10, 2002 at 18:27 UTC ( [id://144487]=note: print w/replies, xml ) Need Help??


in reply to sort with fewest moves

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.

--
perl -pe "s/\b;([st])/'\1/mg"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://144487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-03-29 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found