Every Sorting Algorithm Explained in 120 minutes (full series)

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 230

  • @Kuvina
    @Kuvina  6 місяців тому +61

    Visualizations: ua-cam.com/video/Uq6URzo9q6g/v-deo.html
    I hope you enjoyed learning about algorithms! And for returning viewers, I hope you enjoy the trip down memory lane!

    • @Johnny_Franco-12_Scratch
      @Johnny_Franco-12_Scratch 6 місяців тому +1

      こんにちは、クヴィナ・サイダキ!

    • @CaptainDangeax
      @CaptainDangeax 6 місяців тому +1

      Great vidéo. I'm gonna play with my C128 ASM just for the fun of it, trying to implement some of them and programming the VDP

    • @truongquangduylop33yyuh34
      @truongquangduylop33yyuh34 5 місяців тому +1

      did musicombo wat ch this video

    • @truongquangduylop33yyuh34
      @truongquangduylop33yyuh34 5 місяців тому +1

      I Optimized Porportion Extend Sort with this: Sorting ¼ of the list then choose the median. (FOR UNDER 32 ELEMENTS ONLY).

  • @Patricia_Taxxon
    @Patricia_Taxxon 6 місяців тому +194

    genuinely love the way you've adapted this into a worlthwhile viewing experience rather than just a compilation, the little titles are so cute, and the new bits of voiceover make this feel like it was always supposed to be one huge video.

    • @M113sAldrich
      @M113sAldrich 6 місяців тому +2

      I was going to make that Adam Sandler joke but I understand why you are here

  • @Patricia_Taxxon
    @Patricia_Taxxon 6 місяців тому +259

    kuvina i am rooting for you

    • @jan_Eten
      @jan_Eten 6 місяців тому +17

      mood
      also omg is ðat patricia taxxon ( 'o')
      i loved your love rap explanation in rhythm heaven iceberg megamix ( ^u^)b

    • @MarkusIfquil
      @MarkusIfquil 6 місяців тому +8

      patricia ily

    • @RadioactiveBluePlatypus
      @RadioactiveBluePlatypus 6 місяців тому +8

      Omg hii you're my favorite autistic furry youtuber yippee! /genuine
      Helped me realize I'm autistic myself

    • @temmie1662
      @temmie1662 6 місяців тому +1

      @@RadioactiveBluePlatypusoh oh hi /gen

    • @paper2222
      @paper2222 6 місяців тому +3

      our favorite enby buddy

  • @maadneet
    @maadneet 6 місяців тому +100

    Have I watched each of the individual videos before? Yes. Will I watch this compilation? Absolutely.

    • @wyattstevens8574
      @wyattstevens8574 6 місяців тому +3

      There's also a visualization-only companion!

    • @maadneet
      @maadneet 6 місяців тому +1

      @@wyattstevens8574 Watched that too!

  • @argentonath
    @argentonath Місяць тому +3

    My favorite sorting algorithm of all time was an entry in a slow sorting competition, titled "bureaucratic sort". It is not merely spectacularly time inefficient, it wastes tremendous amounts of space as well: generate all possible lists that can be created with the elements of the original list (every permutation of every set in the power set of the original list), then compare each generated list to the original list to see if it might be a sorted version of the original list, then if it qualifies, check if it is sorted. The comparison of lists and checks to see if a list is sorted are, naturally, done as slowly as possible (O(n) for a pair of lists with lengths n and m, with n

  • @ultra824
    @ultra824 6 місяців тому +52

    Here's a favorite joke algorithm of mine: Intelligent Design sort.
    It works like this: First, observe that the probability of the array being in the exact order that it's in by chance is 1/(n!), this is so unlikely that we must conclude that the array was put in that order by an intelligent Sorter, who must have sorted the elements by some metric beyond our mortal comprehension. This means that any change we might make to the array would actually make it _less_ sorted, which would be against the Sorter's plan. Therefore, the algorithm is complete. This has O(1) Time Complexity.

  • @mistymysticsailboat
    @mistymysticsailboat 6 місяців тому +55

    does anyone else ever get annoyed at Quick Sort being called Quick Sort, like that just feels unfair to the rest of the sorts. why isnt it called like "Partition Sort" or something

    • @mistymysticsailboat
      @mistymysticsailboat 6 місяців тому +11

      and like it Clearly has weaknesses. it is horrible on an already sorted list.

    • @Kettwiesel25
      @Kettwiesel25 6 місяців тому +13

      Pivot sort is more descriptive I think

    • @pangpanggao
      @pangpanggao 5 місяців тому +2

      I think it is due to the fact that it is one of the fastest algorithms known, so they just called it quick sort and got it done with.

    • @HA11EYS_COM3T
      @HA11EYS_COM3T 4 місяці тому

      Rectangle sort because the sub-lists are rectangular

    • @NostraDavid2
      @NostraDavid2 3 місяці тому +1

      You'll have to look at computer history to get an answer. Long story short Tony Hoare (pronounced "hor" - he's British) invented it because his insertion sort implementation wasn't fast enough for some software he created. And it was quite a bit faster than insertion sort, hence the name. And the rest is history.
      Edit: this was back in 1959, which is an important detail, since not all will known sort algorithms were yet invented.

  • @TessaLucy
    @TessaLucy 6 місяців тому +40

    The idea of sorting networks is really reminding me of how factorio balancers work

    • @robertmauck4975
      @robertmauck4975 6 місяців тому +1

      That was my first thought too

    • @octopodes_nuts
      @octopodes_nuts 5 місяців тому

      I would not be surprised if there's Factorio builds that contain otherwise-unknown algorithms that beat any documented method, whether sorting or some other interesting task

  • @MonitorLizardGaming
    @MonitorLizardGaming 6 місяців тому +39

    Two hours of high quality and well-thought-out content? Am I dreaming??

  • @evanzieg
    @evanzieg 6 місяців тому +21

    I'm a huge fan of all of the icons! They are all very clean and well designed!
    Great work on all the visuals and research in the series!!

  • @migueltorrinhapereira7473
    @migueltorrinhapereira7473 6 місяців тому +9

    This series of videos inspired me to create a sorting algorithms visualization that runs on my CASIO graphical calculator, I implemented 16 different algorithms and it was really fun. Thank you.
    Great video, very helpful and interesting.

    • @TungNguyenDinh-x6f
      @TungNguyenDinh-x6f 13 днів тому

      you are interesting too, implemented 16 algorithms on a CASIO

  • @yellowmarkers
    @yellowmarkers 6 місяців тому +65

    There goes my plan to make a sorting algorithm explanation. I can just redirect people here now.

    • @EntergeticalakaBot
      @EntergeticalakaBot 6 місяців тому +2

      There goes the ideas, being used by others

    • @realmless4193
      @realmless4193 6 місяців тому +1

      Just checked out your channel because of this comment. Did subscribe.

  • @ManicVolcanic
    @ManicVolcanic 6 місяців тому +13

    Very nice video. Regarding the bonus section at the end -- you'll no doubt be pleased to hear that the latest SIGBOVIK conference introduced bogoceptionsort! Bogosort may accidentally sort very small lists correctly in only a few iterations. To prevent this, bogoceptionsort first shuffles the *order of the lines of code* that make up the bogosort implementation, then attempts to run it, then checks to see if the list is sorted. This effectively pads the number of elements in the list, making it perform extremely poorly for even lists of size, like, five.

    • @edgeman1135
      @edgeman1135 5 місяців тому +4

      A cool optimisation would be to calculate the chance to order the lines correctly, and to reject a correct solution with that probability. Hope this helps to sort your 5 items in less time!

  • @SysFan808
    @SysFan808 6 місяців тому +6

    sorting algorithm i made (and probably many others too)
    so, i started with bogo, but then tweaked the randomiser function.
    it was originally picking 2 random values and swapping them
    i changed that "swapping" to "comparing" them.
    i don't know what to call it, but it does work quite well as a sorting algorithm.

    • @antoninduda9078
      @antoninduda9078 6 місяців тому +3

      I think it's called either bubble bogo sort or exchange bogo sort

  • @FinnPlanetballs
    @FinnPlanetballs 6 місяців тому +40

    20:38 there is an among us hidden in the purple bar

    • @jan_Eten
      @jan_Eten 6 місяців тому

      yeah i know

    • @wyattstevens8574
      @wyattstevens8574 6 місяців тому

      Didn't notice that!

    • @theunknown4834
      @theunknown4834 6 місяців тому

      Really something among us

    • @Spax_
      @Spax_ 6 місяців тому

      went looking for this comment

  • @krabman6297
    @krabman6297 6 місяців тому +10

    Someone should make a paranoid sort algorithm, like bubble sort, but it swaps items a random amount of times just to make sure it's actually swapped, and should have a save function it spams just in case it crashes. You can also make it randomly mess up or starts over completely, maybe even go through twice and compare the two finished sorts to see if it got the same outcome before determining if it's sorted or not

  • @epikoof
    @epikoof 6 місяців тому +7

    gotta admit, 80% of block sort flew over my head after sqrt, but i loved this entire video anyway, thank you so much

  • @wiktorszymczak4760
    @wiktorszymczak4760 6 місяців тому +11

    Forever proud of actually using bogosort back in uni and getting it accepted

  • @colly6022
    @colly6022 6 місяців тому +20

    bubble sort and shaker sort are definitely the most intuitive for me, as i've unknowingly been doing smth very similar my whole life for real-world situations!

    • @HesterClapp
      @HesterClapp 6 місяців тому +1

      I think insertion sort is more intuitive than bubble sort. Bubble is easier to code, but it's harder to convince yourself that it works

    • @not_estains
      @not_estains 6 місяців тому +1

      i use radix lsd base 2 sort irl

  • @augie279
    @augie279 6 місяців тому +9

    I don’t understand any of how block sort works but I’m glad computers do

  • @epikoof
    @epikoof 6 місяців тому +10

    kuvina, patricia taxxon and jan misali should all collaborate sometime

  • @mithrilbookofmystery
    @mithrilbookofmystery 6 місяців тому +4

    genuinely I love this so much. I do not know enough math to keep up with your descriptions 100% of the way, but what I can parse is genuinely very interesting. I love sorting algorithms, and I love learning more about how they work, even if I can never fully understand it. Thank you so much for this video! I was enraptured all the way through.

    • @mithrilbookofmystery
      @mithrilbookofmystery 6 місяців тому +1

      Ahhh I lied I was actually still watching - near the beginning - when I wrote this but by god I am still enraptured. I'm going to start commenting on the little things I'm enjoying as I go along, because there are many, and I couldn't stop myself at just the one comment. First of all: I love your explanation of the use cases for these algorithms. Or, well, I'm currently just in merge sort, I'm unsure if you keep doing it down the line, but still! it's cool to know the pros and cons of each sort, and why one algorithm would be used over another, as in your city name sorting example.

    • @mithrilbookofmystery
      @mithrilbookofmystery 6 місяців тому +1

      20:38 >:0!!!!!

  • @Skyb0rg
    @Skyb0rg 6 місяців тому +5

    1:52:30 Quantum bogosort is actually implementable, but would be O(2^n) in all cases, since you need to spend time creating those 2^n “worlds” to destruct.
    There is another interesting sorting algorithm, which is the “differentiable sorting” algorithm. It takes in a list and returns the permutation required to make it sorted, but the entire algorithm can be differentiated (needed in ML and for incremental computation).

  • @Musicombo
    @Musicombo 6 місяців тому +6

    Once again, your explanation for Grailsort makes me smile ❤

  • @jursamaj
    @jursamaj 6 місяців тому +2

    22:10 I may have mentioned this in the original video, but radix sort *can* be used on strings (as long as characters have a fixed-size representation). It's most efficient with fixed-size strings, but can even be used on variable length strings.

  • @Manabender
    @Manabender 2 місяці тому +2

    Holy crap. I've been studying computers for years, and always had a soft spot for quicksort, and yet, this is the first I've ever seen the sort-in-place strategy you detailed. I always thought each round would require copying all elements less than the pivot to a new list, and all elements greater to another new list, essentially requiring O(nlogn) memory.

  • @matt.w
    @matt.w 2 місяці тому +3

    I once needed to sort a list, but didn't knew any sorting algorythms, so I accidentally wrote bubble sort.

  • @HA11EYS_COM3T
    @HA11EYS_COM3T 3 місяці тому +2

    I don’t even know how many times I’ve rewatched this video by now

  • @Musicombo
    @Musicombo 6 місяців тому +4

    Hey, just to letcha know: you are more than welcome to join The Studio so you can stay updated on Holy Grailsort's progress (once we come out of hiatus, which is hopefully soon)! ❤❤

    • @bitonic589
      @bitonic589 2 місяці тому

      Idk if this would make it faster, but you could try picking the first and last element and move them inwards, swapping elements that are out of order
      That would reverse a descending array and insertion sort would finish the sort, and it would also get rid of lots of patterns

    • @Musicombo
      @Musicombo 2 місяці тому

      ​@bitonic589 That would break stability, unfortunately, but it's still a clever idea! You would have to implement it like Timsort does, but block merge sorts don't work off of pre-existing runs of sorted data.

  • @WebMafia
    @WebMafia 5 місяців тому +1

    i haven't watched the video fully yet, but what amazed me now is the in-place implementation of Quicksort. I'd usually make auxiliary arrays around the pivot point, write the compared values there and then sort the auxiliary arrays.

  • @skittlez0496
    @skittlez0496 6 місяців тому +3

    A variation on quantum bogo sort (without the universe destruction):
    Step 1) go through the entire list to see if it’s sorted, also counting what n is in the process
    Step 2) with n! parallel processors and n! auxiliary arrays, distribute each element evenly into each open spot in each array, which guarantees that each array is distinct*
    Step 3) because each auxiliary array is necessarily distinct, and we have n! number of them, exactly one must be sorted. Simply use all our parallel processors to comb through them simultaneously to find the sorted list.
    Boom, the fasted on average sorting algorithm possible (time complexity of n) The only issue would be the space and processing it requires…

    • @skittlez0496
      @skittlez0496 6 місяців тому +1

      *if the list doesn’t contain strictly distinct values, there will be multiple auxiliary arrays which are sorted, but still only one that is sorted stably
      We can make this algorithm stable by taking the first auxiliary array (which is necessarily just a copy of the original list) and use it as a “stable” memory storage to help find the one true stably sorted list

  • @t1maggedon
    @t1maggedon 2 місяці тому +1

    I cannot believe the amount of work and attention to detail plus the succinct, concise, and sensible quick-tutorial on asymptotic notations. In fact, I happen to be learning about it in grad-level CS algo class rn. Your video has helped me immensely and in total contrast to the quest for faster algorithm, I hope your channel grows in astronomical Big O! ❤

  • @RT777
    @RT777 5 місяців тому +2

    Stumbled across this awesome video and liked it 5 minutes in. It’s great, but I would suggest adding a touch more emotion in to it. Great video!

  • @ShaAngFox
    @ShaAngFox 4 місяці тому +3

    I think I came up with a new sorting algorithm
    The way it works is by comparing the the farthest left two pieces and if they are not correctly sorted it deletes both of them and then moves one to the right then repeats until it is sorted

    • @mxsteri0
      @mxsteri0 3 місяці тому

      but don't you lose data from doing so?

    • @A_literal_cube
      @A_literal_cube 2 місяці тому

      This is similar to stalin sort

  • @cowcat8124
    @cowcat8124 4 місяці тому +2

    One flaw with Quantum Bogo Sort is that you can't use a traditional RNG function because they're deterministic. You have to use an RNG function that is dependent on true randomness

  • @lerq0ux
    @lerq0ux 6 місяців тому +5

    I came looking for one of those “every __ explained” videos but i got something much better

  • @mrtopper930
    @mrtopper930 6 місяців тому +6

    I’m learning math and science for college majors at 10:30pm. I fell proud.

  • @RT777
    @RT777 5 місяців тому +2

    Minor typo - 1:05:15 says O(nlgon) instead of O(nlogn) in the magenta rectangle

  • @etaosin
    @etaosin 6 місяців тому +2

    Great work, congratulation. Certainly watch one time is not enough. But understanding level again increased in my situation.

  • @ERRORRubiksZeraBrand
    @ERRORRubiksZeraBrand 6 місяців тому +2

    i am trying to make a sorting visualizer in python by using your terminal and using pygame for the sounds. i didn't understand many sorting algorithms but this helped me understand some of the algorithms. i also included one of your sorting algorithms (baiai sort) inside. thank you for the explanation and peace.

  • @LexiLex421
    @LexiLex421 3 місяці тому +1

    Why does nobody get rid of the parts like “the rest are in part 2!”

  • @pangpanggao
    @pangpanggao 4 місяці тому +4

    Tbh you really don’t need to care about space complexity TOO much, because if you count the memory needed to store the original array, all algorithms in this video would become O(n) space complexity, thus merge sort is good enough

  • @12times12_
    @12times12_ 6 місяців тому +4

    bitonic sort visualizes the swaps that are needed to make a belt balancer in the video game Factorio lol

  • @TheBalthassar
    @TheBalthassar 6 місяців тому +2

    I'm pretty sure I said this on the original video, but when we got to the sorting networks and bitonic, my mind goes to Factorio belt management theory.

  • @ishu4227
    @ishu4227 6 місяців тому +2

    49:56 this feels so much like a meme template and i love it

  • @kitsuneprincess4637
    @kitsuneprincess4637 4 місяці тому +1

    I'm so glad you included my favorite sorting algorithm, miracle sort!

  • @fuschia-draws
    @fuschia-draws 6 місяців тому +2

    each algorithm has a little icon !? very cute i love it

  • @tobyconner5827
    @tobyconner5827 6 місяців тому +2

    you should do a longer video about joke algorithms (especially more obscure ones like hanoi sort), theyre very fun

  • @kaderen8461
    @kaderen8461 6 місяців тому +3

    i will not need this information. but it begs to be watched

  • @DavidvanDeijk
    @DavidvanDeijk 6 місяців тому +2

    very enjoyable, thank you. shell sort is indeed a favorite.

  • @feelshowdy
    @feelshowdy 3 місяці тому +1

    Thank you so much for this in-depth video. My only knowledge/exposure to sorting algorithms before this were those meme videos where sorting algorithms make funny sounds. Now I have come away confused yet mystified, and with favorite sorting algorithms being Pancake Sort and Power Sort.

  • @ceremyjlarkson9475
    @ceremyjlarkson9475 6 місяців тому +9

    20:38
    Quite suspicious indeed

  • @joelicandi2586
    @joelicandi2586 6 місяців тому +4

    Fantastic Work !!
    very impressive

  • @rainbowwdude
    @rainbowwdude 6 місяців тому +5

    How much sorting algorithm do you want?
    Me: *_Yes_*

  • @sunanimatons
    @sunanimatons 5 місяців тому +1

    Baiai sort can also be called Odd Even Insertion(because it’s also “odd even”ish.

  • @Inspirator_AG112
    @Inspirator_AG112 5 місяців тому +2

    *@[**37:04**]:* This is also the same algorithm used by Earthbound.

  • @namethathasntbeentakenyetm3682
    @namethathasntbeentakenyetm3682 6 місяців тому +8

    Now I can understand the things

  • @sunanimatons
    @sunanimatons 5 місяців тому +1

    I have a good joke sorting algorithm, Increment sort, so basically, it compares adjacent pieces right to left, like reverse bubble sort, but if the left is greater or equal to the righ, decrement left by 1 and increment right by 1, not reccomened for few unique values.

  • @arcainchaos
    @arcainchaos 6 місяців тому +3

    I am less than a minute into the video and I need you to know that I love you

  • @circuitcraft2399
    @circuitcraft2399 6 місяців тому +1

    1. Quicksort can include smarter pivot-selection techniques to guarantee O(n*log(n)) time in the worst case.
    2. Shellsort can be O(n*log(n)^2) if you choose the sequence of gaps more carefully.
    Additional details in replies.

    • @circuitcraft2399
      @circuitcraft2399 6 місяців тому

      Explanation for 1: there is an algorithm called "median of medians." It is an O(n) algorithm that finds some value in the list that is greater than (or equal to) at least 30% of the others in the list, and also less than (or equal to) another 30% of them. By using it to choose pivots, we will always shrink the list by a constant factor on each step, guaranteeing logarithmically-many recursive steps.

    • @circuitcraft2399
      @circuitcraft2399 6 місяців тому +1

      Explanation for 2: if we choose the sequence of 3-smooth numbers, we never swap an element more than once on a given iteration. Since there are O(log(n)^2) 3-smooth numbers less than n, we perform that many linear-time iterations.

  • @mitchellbailey5522
    @mitchellbailey5522 6 місяців тому +2

    Honestly quite incredible

  • @fwuz_
    @fwuz_ 5 місяців тому +1

    pairwise bogo sorting network: given a list X of size n, generate a new list P containing all ascending pairs of integers from 0 to n-1. shuffle P and use it to compare every pair of numbers in X, swapping them if necessary. if X isn't sorted throw your computer in the ocean or something idk

    • @fwuz_
      @fwuz_ 5 місяців тому

      update: i made it and it's every bit as horrible as i had hoped

  • @ryanbartlett672
    @ryanbartlett672 6 місяців тому +3

    Great work. Thanks

  • @thumbgoblin4716
    @thumbgoblin4716 6 місяців тому +6

    ive already seen all 4 videos, is there anything new in this one?

    • @Kuvina
      @Kuvina  6 місяців тому +7

      not really I just redid some audio and visuals to make it easier to watch, and added segues between the sections

  • @vincehomoki1612
    @vincehomoki1612 6 місяців тому +2

    1:05:13 Typo! "and building it is O(nlgon)"

    • @Kuvina
      @Kuvina  6 місяців тому +1

      I'm impressed by how many people have noticed that. But I guess it shows people are really paying attention to the video!

  • @mommyuki
    @mommyuki 6 місяців тому +2

    new Kuvina video! I already love it

  • @stefanbergung5514
    @stefanbergung5514 6 місяців тому +2

    Wasn't there an algorithm that can solve any NP-problem in its minimal time complexity by random generating algorithms and checking if there answer is correct?
    It's just generliced bogo-sort, but would have been worth a mention.

  • @Pomegranate_king
    @Pomegranate_king Місяць тому +2

    I like weave sort!

  • @berrycade
    @berrycade Місяць тому +3

    Auxillerlilly

  • @CompilerHack
    @CompilerHack 6 місяців тому +3

    you make the best videos!

  • @noahnaugler7611
    @noahnaugler7611 5 місяців тому +2

    do you really need a temp variable to swap values? I thought
    {
    a=1;
    b=2;
    a=a+b;
    b=a-b;
    a=a-b;
    }
    now
    a=2, b=1

    • @Kuvina
      @Kuvina  5 місяців тому +1

      That's a cool method! Although I think it only works on numbers and has a negligible effect on performance, so usually we just stick with the general method.

  • @HesterClapp
    @HesterClapp 6 місяців тому +1

    I think I saw somewhere that the time complexity of Shell sort is O(n (log n)^2), which is roughly n^1.2, but I couldn't tell you why that's the time complexity

    • @Kettwiesel25
      @Kettwiesel25 6 місяців тому

      O(n log^2 n) is a smaller time complexity than n^1.2 or even n^1.00001

  • @HalfEye79
    @HalfEye79 5 місяців тому

    You can improve gnome sort, when use put the index in a variable you turned back into a variable. When the piece is at is correct destination you can just go to the saved index.

    • @77elite9
      @77elite9 4 місяці тому +1

      At that point that’s insertion sort and you might as well use that instead.

  • @Dodo-qm4vl
    @Dodo-qm4vl Місяць тому +1

    please make your videos darker i need to know the details of every sorting algorithm but my eyes hurt

  • @LeoStaley
    @LeoStaley 6 місяців тому +4

    Are there different considerations based on properties of the data, like numerous peices of data with the same values? In such a data set is there anything of note happening when a secondary sort method is used? (Like sorting files by album title, and secondarily by name, or track number?
    What about if the data is already partly sorted instead of random?

    • @Kuvina
      @Kuvina  6 місяців тому +2

      That's where adaptive algorithms come in, which are covered in part 3 !

    • @NXTangl
      @NXTangl 6 місяців тому +3

      For "A-then-B" you can just sort by A but break ties by B, or you can sort by B, then stable sort by A, or you can use a recursive procedure more like MSD radix sort.

    • @LeoStaley
      @LeoStaley 6 місяців тому

      @@NXTangl does anybody know how windows explorer does it?

    • @NXTangl
      @NXTangl 6 місяців тому

      @@LeoStaley Probably stable sort.

  • @cxpKSip
    @cxpKSip 5 місяців тому +1

    Radix Sort could work on any set of finite elements.

  • @alright_idkbro
    @alright_idkbro 3 місяці тому +2

    Thats 117 minutes

  • @taureon_
    @taureon_ 6 місяців тому +1

    identity crisis sort should randomly start off with quick or merge

  • @Vaaaaadim
    @Vaaaaadim 6 місяців тому +1

    I'm only at the start of the video right now, but I just want to note that ska sort doesn't seem to be included.

  • @ShowMe7.
    @ShowMe7. 6 місяців тому +10

    yay new kuvina video :3

  • @Inspirator_AG112
    @Inspirator_AG112 5 місяців тому +2

    *@[**1:52:40**]:* I guess it isn't literally named after a real-world genocide perpetrator for nothing...
    Go figure with how destructive it is.

  • @trapit1v145
    @trapit1v145 3 місяці тому +1

    Me at 12AM:
    4:59
    "...Yeah."

  • @MikeBud-ju9ks
    @MikeBud-ju9ks 3 місяці тому +2

    29:22. Is it a mistake, that there's 3 instead of 4 or is it just a joke?

  • @toniuyt6725
    @toniuyt6725 8 днів тому +1

    Isn't MSD radix sort faster than LSD because you can cut short and not examine every digit?

  • @not_estains
    @not_estains 6 місяців тому +1

    now explain every shuffling algorithm

  • @junebugrobotics
    @junebugrobotics 5 місяців тому +1

    It's 117 minutes and 33 seconds! How dare you lie!

  • @ashes6816
    @ashes6816 6 місяців тому +2

    this is so good

  • @typo691
    @typo691 3 місяці тому +1

    Was hoping to see an explanation of shatter sort 😢
    There are basically no explanations of it online

  • @andriypredmyrskyy7791
    @andriypredmyrskyy7791 6 місяців тому +2

    Fun fact, Bill Gates published a really neat paper on pancake sort! I wish I was smart enough to understand it. I'd watch a video of someone explaining that paper online.

  • @kisho2679
    @kisho2679 5 місяців тому +1

    which one is most used in practice?

  • @rhnirsilva652
    @rhnirsilva652 5 місяців тому +1

    this is fucking cinema

  • @truongquangduylop33yyuh34
    @truongquangduylop33yyuh34 4 місяці тому +1

    Here is my case 3 for block sort: There is no g.

    • @77elite9
      @77elite9 4 місяці тому

      It explicitly stated, “if necessary, introduce gap g so A and B have no common values.” If A and B had no common values to begin with, there’s no need to introduce gap g in the first place.

  • @mathguy37
    @mathguy37 6 місяців тому +2

    cool now i can watch this when binging it the 581st time

  • @BFUS_official
    @BFUS_official 6 місяців тому +1

    I keep hearing login

  • @eastonbrunet9996
    @eastonbrunet9996 2 місяці тому +1

    57:51 I can't believe Americans are calling it *Zed* instead of *Zee* 💀

    • @Buckybadgerwisco
      @Buckybadgerwisco 2 місяці тому

      I can’t believe either, you are talking British style for *Z*

  • @AshLikes2analyse
    @AshLikes2analyse 6 місяців тому +2

    You're the best

  • @WendidIask
    @WendidIask 6 місяців тому +1

    Top sort is not obscure :(. It is used in every DAG problem basically.

  • @MessyMasyn
    @MessyMasyn 6 місяців тому +1

    Can't wait to get hired at Google/Facebook/Papa Johns

  • @BoBoN4Uto
    @BoBoN4Uto 6 місяців тому

    marvel moieverse been real quiet since this dropped

  • @FerPerez-mc3wr
    @FerPerez-mc3wr 4 місяці тому +1

    What if the moon is made of cheese?