pastermil@sh.itjust.works to Programmer Humor@programming.dev · 9 months agoThat Nim Flashbackssh.itjust.worksimagemessage-square62fedilinkarrow-up1832arrow-down18
arrow-up1824arrow-down1imageThat Nim Flashbackssh.itjust.workspastermil@sh.itjust.works to Programmer Humor@programming.dev · 9 months agomessage-square62fedilink
minus-squareDaxtron2@startrek.websitelinkfedilinkarrow-up1·9 months agoNah Hanoi was easy stuff, first year. Definitely more traumatizing practice problems.
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up0·9 months ago Hanoi […] practice problems. Like you come to the exam and there’s a 64 piece Tower of Hanoi you need to solve manually to pass the exam
minus-squareJohnEdwa@sopuli.xyzlinkfedilinkarrow-up1·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-up1·8 months agoAnd that makes It good enough for an exam
Nah Hanoi was easy stuff, first year. Definitely more traumatizing practice problems.
Like you come to the exam and there’s a 64 piece Tower of Hanoi you need to solve manually to pass the 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