this post was submitted on 05 May 2024
823 points (99.0% liked)

Programmer Humor

19623 readers
4 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] sukhmel@programming.dev 12 points 6 months ago (2 children)

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

[–] JohnEdwa@sopuli.xyz 3 points 6 months ago (1 children)

Assuming 1 second per swap, a 64 disk tower of hanoi would take 585 billion years to solve - it has 2^64 -1 swaps.

[–] sukhmel@programming.dev 2 points 6 months ago

And that makes It good enough for an exam

[–] ICastFist@programming.dev 2 points 6 months ago

Calm down, satan