In-Place LSD Radix Sort

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 เม.ย. 2021
  • Visit our community Discord: / discord
    Base-10, as always!
    Check out the NEW home for ArrayV here: github.com/gaming32/ArrayV-v4.0
    Check out the Mother 1+2 Restoration project: / discord
    Thank you to Kalmar Republic and Segaking584 for supporting my videos!
    Join this channel to get access to perks:
    / @musicombo
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 131

  • @Musicombo
    @Musicombo  3 ปีที่แล้ว +18

    Visit our community Discord here: discord.com/invite/2xGkKC2
    Check out the NEW home for ArrayV here: github.com/gaming32/ArrayV-v4.0

    • @edwardclark6731
      @edwardclark6731 2 ปีที่แล้ว

      A small seizure warning for this channel
      Algorithm sorts can be extremely loud, and seizures can be triggered by noises
      Algorithm sorts can flash a lot, and seizures can be triggered by flashing
      Be careful, and have a good stay!

    • @ERRORRubiksZeraBrand
      @ERRORRubiksZeraBrand 23 วันที่ผ่านมา

      H O W D O I D O W N L O A D I T

    • @RashaMaya123
      @RashaMaya123 11 วันที่ผ่านมา

      Do Double Binary Insertion Sort
      Reverse Selection Sort
      Stable Selection Sort
      Stable Cycle Sort
      Tree Sort (AA Balanced)
      Wiggle Sort
      Optimized Bubble Sort
      Unoptimized Bubble Sort
      Swapless Bubble Sort
      Sample sort
      Weaved Merge Sort
      Iterative Merge Sort
      Stable Merge Sort
      Radix LSD Sort Base 2
      Optimized Cycle Sort

    • @ERRORRubiksZeraBrand
      @ERRORRubiksZeraBrand 11 วันที่ผ่านมา

      @@RashaMaya123 DOES ANYONE KNOW HOW TO DOWNLOAD IT

    • @RashaMaya123
      @RashaMaya123 11 วันที่ผ่านมา

      @@ERRORRubiksZeraBrand YES

  • @KeaveMind
    @KeaveMind ปีที่แล้ว +110

    Radix is by far my favorite Sort. The absolutely Alien sounds, the way it seems to scroll across the screen, the chaos that suddenly turns into satisfying patterns. Just gorgeous

    • @duothehybrid
      @duothehybrid ปีที่แล้ว

      The first video of this sort is one of my favorite, the absolute power of the echo at the end

    • @Tarou9000
      @Tarou9000 2 หลายเดือนก่อน +1

      the scrolling of the screen is an effect of In-place LSD Radix Sort, not Radix Sort

    • @nhungduong3236
      @nhungduong3236 2 วันที่ผ่านมา

      Same but in place or out of place as I want

  • @user-pm4nn8br8b
    @user-pm4nn8br8b 3 ปีที่แล้ว +269

    never thought it'd be so satisfying seeing the swaps counter finally hit 10 million at some point, lol

    • @shanshansan
      @shanshansan 2 ปีที่แล้ว +18

      9:34 for the 10 million swaps

    • @adrianodemetrio5607
      @adrianodemetrio5607 2 ปีที่แล้ว +12

      Oh god it was so satisfying, I read this comment at the start of the video and checked every counter until the 10 million, it was always so close it hurted

    • @ABCDEFG-mw6wu
      @ABCDEFG-mw6wu ปีที่แล้ว +3

      i thought i was the only one

    • @phantomtroopyt
      @phantomtroopyt ปีที่แล้ว

      So satisfying 😭

    • @bobczech7774
      @bobczech7774 8 หลายเดือนก่อน +3

      Imagine it says 9,999,999 😂😢

  • @azurbtkl3901
    @azurbtkl3901 3 ปีที่แล้ว +162

    I love those "TA DI DI DA DA DI DI DA DA" parts when the small peaks come all together after the big figures

    • @gallium-gonzollium
      @gallium-gonzollium 2 ปีที่แล้ว +14

      Me when searching a song I don’t remember the name of:

    • @KatzRool
      @KatzRool 2 ปีที่แล้ว +4

      lmao

    • @edwardclark6731
      @edwardclark6731 ปีที่แล้ว

      I like the OUUUUUUUUUUUUUUUUUUEEEEEEOOOOOOOOOEOEOEOEOEOEOEOEOEOEOEOEOEO at the end and the DUDUDUDUDUUUDUDUDUDUDUDUDUDUDUDUDUDDUDUDUDUDDUDUDUDUDUDDUDUDUUDD at the beggning

    • @DeveloperJake
      @DeveloperJake ปีที่แล้ว +6

      “TA DI DI DA DA DI DI DA DA”
      I feel like now would be a good time for us to tell you that there are no voice tones on the internet

  • @417Owsy
    @417Owsy 10 หลายเดือนก่อน +17

    Radix Base 10 sort be like:
    1. Check entire thing
    2. blblblblblblblbl
    3. done

    • @nhungduong3236
      @nhungduong3236 2 วันที่ผ่านมา

      The orders you said are correct! Congratulations! Here's a billion dollars!

  • @theplayer12312
    @theplayer12312 9 หลายเดือนก่อน +24

    LSD Radixsort has gotta be my favourite sort, just because how rugged it is, you can just about throw anything at it and it'll sort it in a respectable amount of time, and every sort takes a almost fixed amount of time, even on the in-place version, and the pre-final pass being sorted is just so satisfying to watch and hear, even if you throw the most bonkers list at it

  • @jaypaint4855
    @jaypaint4855 2 ปีที่แล้ว +86

    Sounds really cool, and the LSD naming is hilarious
    PS I have a newfound obsession with sorting algorithms, especially these radix LSD ones

    • @edwardclark6731
      @edwardclark6731 2 ปีที่แล้ว +9

      lsd stands for least significant digit, and this sort is sorta inneficient, however there are cool and efficent sorts like american flag sort

    • @idiotgame1026
      @idiotgame1026 2 ปีที่แล้ว

      Same

    • @edwardclark6731
      @edwardclark6731 ปีที่แล้ว +8

      And yes its absolutely hilarious it's named LSD sort
      -it fits-

  • @LazyTheoRenders
    @LazyTheoRenders 3 ปีที่แล้ว +83

    0:19 listen closely and you can hear the THX intro

    • @GCoHDC
      @GCoHDC ปีที่แล้ว +2

      but perfectly cutoff

  • @kydatyvegrybatokeanvisoko2420
    @kydatyvegrybatokeanvisoko2420 2 ปีที่แล้ว +33

    idk why im so obsessed with sorting algorithms especially cuz ik what basis most of them are going by to sort things but
    5:15
    i like this one it sparks joy

  • @DeveloperJake
    @DeveloperJake ปีที่แล้ว +12

    I like when it starts the Shepard tone for a minute

  • @letter_o_hyphen_letter_o
    @letter_o_hyphen_letter_o ปีที่แล้ว +6

    love that running radix start to finish on "radix final pass" creates a sort of shepard tone on the second(?) pass

  • @Somaiscariot
    @Somaiscariot 2 ปีที่แล้ว +36

    Who else really misses dubstep? 💕

  • @HamStar_
    @HamStar_ 3 ปีที่แล้ว +23

    the fan favorite

  • @Plaston_
    @Plaston_ ปีที่แล้ว +10

    Theses frequances sweeps are quite good at stressing speakers, it help them softing their suspensions and test their bandwidth.

  • @TheOne_6
    @TheOne_6 6 หลายเดือนก่อน +3

    your average radix in-place LSD base 10 consists of:
    -efficiency
    -sounding like an alien in a microwave
    -broken music disc

  • @jonnelk.pabico5402
    @jonnelk.pabico5402 2 หลายเดือนก่อน +2

    1:46 えええええーぅううううううあおあううううう!!!!!

  • @frzferdinand72
    @frzferdinand72 2 ปีที่แล้ว +8

    1:45 It sounds like music from Portal

  • @distendedmist5840
    @distendedmist5840 ปีที่แล้ว +3

    I love it it is like a cheque printer chucking out stuff

  • @nameisChannelID
    @nameisChannelID 3 ปีที่แล้ว +20

    This is what everyone comes for

  • @DonnaDinaMusic
    @DonnaDinaMusic 2 ปีที่แล้ว +7

    у меня в глазах рябит от этого но я не могу оторваться

  • @maxvangulik1988
    @maxvangulik1988 2 ปีที่แล้ว +13

    Imagine if someone made bad apple in this software

    • @ryoukaip
      @ryoukaip ปีที่แล้ว +6

      lmao its quita hard tho
      edit: *quite

    • @mewity
      @mewity หลายเดือนก่อน +1

      badapplesort

    • @nhungduong3236
      @nhungduong3236 2 วันที่ผ่านมา

      It's logically impossible

    • @maxvangulik1988
      @maxvangulik1988 2 วันที่ผ่านมา

      @@nhungduong3236 could approximate it

  • @BryndanMeyerholtTheRealDeal
    @BryndanMeyerholtTheRealDeal ปีที่แล้ว +6

    This, but with a million numbers. I wonder how fast it will be?

    • @mewity
      @mewity หลายเดือนก่อน +1

      computer crash moment

  • @twostepverification590
    @twostepverification590 9 หลายเดือนก่อน +1

    I can't believe the whole sorting board moved in a single frame

  • @ishu4227
    @ishu4227 ปีที่แล้ว +4

    what i think radix does is it scans the thing, and repeatedley slices the pieces into 10 little pieces, and i guess this happens so much it gets sorted.

    • @hoodiedude4204
      @hoodiedude4204 ปีที่แล้ว +4

      LSD means least signifikant digit. It sorts the array based on only the ones place, then it sorts THAT array based on the tens place and then it sorts it based on the hundreds place and so on. Its always only the ones, tens and hundreds etc places that is considered, not the entire numbers, hence the comparisons counter stays at 0

    • @DFPercush
      @DFPercush ปีที่แล้ว

      Creel has a good video explaining radix sort : /watch?v=_KhZ7F-jOlI

  • @jsmcfadyen
    @jsmcfadyen 3 ปีที่แล้ว +20

    I thought in-place meant no writes to auxiliary arrays

    • @Musicombo
      @Musicombo  3 ปีที่แล้ว +31

      Nope, doesn't have to be that strict! There's a bit of leeway with the definition. Some would argue a sort that doesn't use O(n) extra space can be considered in-place. Note that this doesn't have to be in terms of just arrays! Quicksort uses O(log n) stack space, yet it's universally considered in-place.

    • @mahinwahid5161
      @mahinwahid5161 2 ปีที่แล้ว +15

      Musicombo I like your funny words magic man

    • @Musicombo
      @Musicombo  2 ปีที่แล้ว +13

      Lol, thank you? 😅

    • @smaybius
      @smaybius ปีที่แล้ว +5

      The aux space is just for the buckets and determining them. The items in the array are never moved out of place

    • @RashaMaya123
      @RashaMaya123 11 วันที่ผ่านมา

      ​@@Musicombo Do Over 300 Sorting Algorithms In Under An Hour
      Reversed Inputs

  • @Terpster77
    @Terpster77 3 ปีที่แล้ว +14

    RADIX

  • @majorse203
    @majorse203 3 หลายเดือนก่อน

    This is my favorite sort - and the weirdest one for sure. It's so weird that bro literally made a whole video dedicated to it.

  • @My1xT
    @My1xT ปีที่แล้ว

    yeah this looks so trippy this algo HAS TO have taken some drugs

  • @itryen7632
    @itryen7632 2 ปีที่แล้ว +5

    FUCK YEAH
    SORT IT ROOOIGHHT

  • @neurotoxic1830
    @neurotoxic1830 ปีที่แล้ว +2

    Oh my god it sometimes sounds like peeling off tape from the roll but continuous

  • @ProTheRobloxer
    @ProTheRobloxer 10 หลายเดือนก่อน +1

    Me: What’s 1+1?
    My brain: 0:06
    My brain: “3”

  • @rosanafalcao4038
    @rosanafalcao4038 ปีที่แล้ว +1

    5:28 First one to sound different
    6:01 First one to sound *almost completely* different

  • @badboycorolla86
    @badboycorolla86 ปีที่แล้ว

    cool video, i always want that app on my computer

  • @hollyhello8352
    @hollyhello8352 2 ปีที่แล้ว +8

    no idea how it works, but its so cool!!!

    • @smaybius
      @smaybius 2 ปีที่แล้ว +4

      In normal LSD radix, the array is loaded into buckets of the values of the lowest digit, then unloaded back to the array, then rinse and repeat for the next digit up

    • @Fera-gr5mm
      @Fera-gr5mm 2 ปีที่แล้ว

      @@smaybius Technically the bucket part is implementation detail, you just need to known how to sort the items by n-th digit

  • @WatermeloncatSR
    @WatermeloncatSR 2 ปีที่แล้ว

    what app is this?

  • @hydrate6913
    @hydrate6913 3 ปีที่แล้ว +4

    i change my mind.

  • @Anopeng
    @Anopeng ปีที่แล้ว +1

    After these videos I realized that I have sortophobia...

  • @LSCrazyCabCo
    @LSCrazyCabCo 2 ปีที่แล้ว +3

    but is there such thing as an unsorting algorithm?

  • @Ceafto2007
    @Ceafto2007 3 ปีที่แล้ว +15

    Radix sort base 2? Or base 1?

    • @Ceafto2007
      @Ceafto2007 3 ปีที่แล้ว +3

      @Nehemiah Britt no, I mean, how would base one and base two work?

    • @signisot5264
      @signisot5264 3 ปีที่แล้ว +3

      @@Ceafto2007 Base 2 would work similar to base 10 but with 2 buckets instead of 10 (Likely takes more combovers), but I'm not sure if there's a base 1 edition

    • @HamStar_
      @HamStar_ 3 ปีที่แล้ว +13

      base 1: it moves everything into the same bucket each time, but in a different order
      equivalent to bogosort

    • @signisot5264
      @signisot5264 3 ปีที่แล้ว +2

      @@HamStar_ lol bogo

    • @Ceafto2007
      @Ceafto2007 3 ปีที่แล้ว

      Could be an interesting video

  • @edwardclark6731
    @edwardclark6731 2 ปีที่แล้ว +2

    use like base two or base 5894

  • @serg_sel7526
    @serg_sel7526 4 หลายเดือนก่อน

    Basically it stabilly sorts every number by first digit, then second, then third, then fourth and etc... Sadly, it can sort only digits...

  • @keanjuguetaphkinemastertv4885
    @keanjuguetaphkinemastertv4885 ปีที่แล้ว +1

    All Musicombo Sorting Videos

  • @Questiala124
    @Questiala124 4 หลายเดือนก่อน

    10:00 10 million at 10 minutes for the 10^0th time!

  • @sbuydi_sweeddat
    @sbuydi_sweeddat 2 ปีที่แล้ว +1

    Start Redix from Final Redix then stop at Final Redix and repeat

  • @52markin
    @52markin ปีที่แล้ว

    Seems like the thx intro

  • @itryen7632
    @itryen7632 2 ปีที่แล้ว +3

    This is looking like one of those Japanese music videos now

  • @idiotgame1026
    @idiotgame1026 2 ปีที่แล้ว +4

    9:34

  • @Newvik2Bsystem
    @Newvik2Bsystem 5 หลายเดือนก่อน

    LSB Radixsort in Embrassed No waveinvert mono only

  • @itryen7632
    @itryen7632 2 ปีที่แล้ว +3

    WHERE'S THE VOLUME >:(

  • @MissyStarofficialchannel
    @MissyStarofficialchannel หลายเดือนก่อน +2

    00:05:30❤️‍🔥❤️‍🔥❤️‍🔥

  • @andysetiawanart7669
    @andysetiawanart7669 2 ปีที่แล้ว +5

    Don't base 10, should be base 16 in radix LSD Sort in place

  • @LazyTheoRenders
    @LazyTheoRenders 3 ปีที่แล้ว +10

    0:31 what was the point in that

    • @CSDragon
      @CSDragon 3 ปีที่แล้ว +6

      moving on to the next sort, which was "what happens if the array is sorted backwards" sort

    • @Matheus_Braz
      @Matheus_Braz 2 ปีที่แล้ว

      @@CSDragon how does this even work though, even if its all mixed up, repeating it enough times somehow brings it back to normal?

    • @CSDragon
      @CSDragon 2 ปีที่แล้ว

      @@Matheus_Braz it's actually showing the worst possible case when it's completely backwards like that.

    • @Matheus_Braz
      @Matheus_Braz 2 ปีที่แล้ว

      @@CSDragon yeah but how does repeating it, even when its backwards, just magically bring it back to normal??

    • @edwardclark6731
      @edwardclark6731 2 ปีที่แล้ว

      @@Matheus_Braz here, so basically, it takes it, (i presume) and it makes it into groups, and keeps on dividing it into small pieces, and then grouping them into order, leaving a small grey bit, which is added onto the base, thus sorting it! i hope i helped!
      tl;dr: it divides alot, then makes it triangle with grey, added to white.

  • @xirex4705
    @xirex4705 3 ปีที่แล้ว +1

    but what is update.

  • @andysetiawanart7669
    @andysetiawanart7669 2 ปีที่แล้ว +3

    Seharusnya base 16 jangan 10, kalau pilih 10 kurang sempurna lihatnya

  • @Caterblock
    @Caterblock 3 ปีที่แล้ว +4

    Another one

  • @ert5419
    @ert5419 2 ปีที่แล้ว +1

    WHAT

  • @Indrakrn
    @Indrakrn 2 ปีที่แล้ว

    Sounds like lagging ps2 games

  • @aeezem
    @aeezem ปีที่แล้ว

    watch this on lsd

  • @tgb2024
    @tgb2024 2 ปีที่แล้ว

    krnl sort 4.0

  • @ethanramcel2749
    @ethanramcel2749 2 ปีที่แล้ว

    Fast

  • @Buckybadgerwisco
    @Buckybadgerwisco ปีที่แล้ว

    this is just base 10

  • @leyasep5919
    @leyasep5919 ปีที่แล้ว +1

    Funny but inefficient 😕

  • @ethanramcel2749
    @ethanramcel2749 2 ปีที่แล้ว +2

    Slow

  • @lephihung10
    @lephihung10 ปีที่แล้ว

    /tp 65.50 68.56 65.50