minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 month ago

Marge sort

lemmy.ml

message-square
7
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
16

Marge sort

lemmy.ml

HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 1 month ago
message-square
7
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or # to comment.
  • Successful_Try543@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    MERGE SÖRT

    IDEA instructions

  • lockhart@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    well I think it’s pretty neat

    • ddh@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      23 days ago

      It even runs on my potato server

  • creamlike504@jlai.lu
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I was with you until the last step. How did it all get sorted, instead of having two “peaks”?

    • xorollo@leminal.space
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      https://en.m.wikipedia.org/wiki/Merge_sort

      The video animation shows what is going on when you merge two lists together. You’re comparing the first two indices and sorting them to complete that step.

      • creamlike504@jlai.lu
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Thank you! I now understand the joke.

        • Hupf@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          26 days ago

          https://youtu.be/7cDo1sWNgbI

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 117 users / day
  • 5.95K users / week
  • 8.35K users / month
  • 12.6K users / 6 months
  • 1 local subscriber
  • 23.7K subscribers
  • 1.44K Posts
  • 45.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org