Slashdot Mirror


108 Ways To Do The Towers of Hanoi

hlarwood74 writes "While it is common to program in a few different languages, somebody has written "towers of hanoi" in 108 different ways, most of them in different programming languages. It's not just the number of languages though ... there are many neat implementations and in some cases he's come up with some strange ways of solving hanoi such as this: "you ping the hanoi machine with the number of disks encoded in the type of service field, and you get response packets whose sequence numbers represent the disk moves need to solve the puzzle". I wanted to ask "why" but the title of the page (hanoimania) explains a few things :)"

7 of 192 comments (clear)

  1. Re:Reverse DOS? by Anonymous Coward · · Score: -1, Flamebait

    Jokes are meant to be funny, dickhead.

  2. what if he had spent his time on something useful? by Anonymous Coward · · Score: -1, Flamebait

    fuck these geek pastimes. be productive for a change.

  3. Re:Reverse DOS? by Anonymous Coward · · Score: -1, Flamebait

    I'm not laughing. Mainly because your 'joke' WASN'T FUCKING FUNNY. I bet you get a barrel of laughs out of 'duct tape' humour too, you hopeless shitstain of a geek.

  4. Re:Die nerds die! by Anonymous Coward · · Score: -1, Flamebait
    Shut your fucking mouth pencilneck, before I come over and trash you for good.

    Love,
    -Brad Baillod

  5. Re:Die nerds die! by Anonymous Coward · · Score: -1, Flamebait

    Threaten me would you, you fucking gorilla? Man, your computer is going to get so owned once I'm done with you.

    When your lady sees the Goatse man as your homepage and subscriptions to alt.binaries.erotica.small-girls in your Outlook Express folders she'll come running straight into my arms, and won't give you a second glance.

  6. Re:Die nerds die! by Anonymous Coward · · Score: -1, Flamebait
    Scared already, eh? You should be 'cause I can bench press 220 lbs any day. If you as much as touch my interweb you know what will happen: total annihilation, I tell you. You'll be like a stain on the floor of your mom's basement.

    So if you want to see who's the real man, come over and meet me. I don't know who "the Goatse man" is but hell you can bring him along. I'll trash him too.

    Love
    -Brad Baillod

  7. Re:Reverse DOS? by Anonymous Coward · · Score: -1, Flamebait

    Put down the fucking handbag, you complete cock.