Cháchara Club
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 days ago

Marge sort

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

Marge sort

HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 10 days ago
message-square
7
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • creamlike504@jlai.lu
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days 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
      ·
      10 days 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
        ·
        10 days ago

        Thank you! I now understand the joke.

        • Hupf@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          6 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.

  • 1.45K users / day
  • 4.07K users / week
  • 4.1K users / month
  • 4.14K users / 6 months
  • 1 local subscriber
  • 23.3K subscribers
  • 128 Posts
  • 846 Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org