pastermil@sh.itjust.works to Programmer Humor@programming.dev · 8 months agoThat Nim Flashbackssh.itjust.worksexternal-linkmessage-square56fedilinkarrow-up1828arrow-down18
arrow-up1820arrow-down1external-linkThat Nim Flashbackssh.itjust.workspastermil@sh.itjust.works to Programmer Humor@programming.dev · 8 months agomessage-square56fedilink
minus-squareJohnEdwa@sopuli.xyzlinkfedilinkarrow-up3·8 months agoAssuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up2·8 months agoAnd that makes It good enough for an exam
Assuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.
And that makes It good enough for an exam