KittiesAreCute!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
illectrility@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago

I still have nightmares (not OC)

lemmy.world

message-square
8
link
fedilink
19

I still have nightmares (not OC)

lemmy.world

illectrility@lemmy.world to Programmer Humor@lemmy.ml · 3 years ago
message-square
8
link
fedilink
alert-triangle
You must log in or # to comment.
  • 🔻Sleepless One🔻@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 years ago

    I once had a professor ask to solve the tower of hanoi using only 2 pegs.

    • illectrility@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      How did that turn out?

      • 🔻Sleepless One🔻@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        3 years ago

        It was a trick question.

  • Cassilda@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    M-x hanoi

    • assa123@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Good ol’ emacs, relevant xkcd (although I don’t think there’s anyone that hasn’t seen it).

  • Preston Maness ☭@lemmygrad.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    And then someone starts talking about dining philosophers…

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    Oh god Hanoi’s towers… Incredible that I programmed it in BASIC on my ZX81 in the 80s, and now at 50+yo I would have no clue how to program it lol

  • gylotip@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 years ago

    deleted by creator

    • Xanvial@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      This is called Tower of Hanoi problem, usually introduced as main task when learning about recursion in programming

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 35 users / day
  • 1.2K users / week
  • 2.17K users / month
  • 7.19K users / 6 months
  • 2 local subscribers
  • 39.9K subscribers
  • 1.99K Posts
  • 33.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org