5 most popular sorting algorithms explained visually!

preview_player
Показать описание
In the second episode of "So you decided...", we will learn about the following sorting algorithms: insertion sort, selection sort, bubble sort, merge sort and quick sort!


#programming #coding #algorithm #algorithms #search #education #developer #development #tech #technology #insertionsort #selectionsort #mergesort #quicksort #bubblesort
Рекомендации по теме
Комментарии
Автор

My favorite game :)
Thanks for the new video!

АрманБулудян
Автор

to make quicksort more reliably fast you can use some logic to make it more likely to get a good pivot. For example, you can tak the first, middle and last card and check which one is would be in the middle, and then use that as your pivot. ofcourse for sorting uno cards this is a bit overboard but if you are sorting thousands of cards it would make it faster.

Also I think bucket sort would also be an interesting one for this use case. I recomend watching a video on it as I cannot explain it very well, but in bucket sort you have different "buckets" like an array. Each bucket has their own Identifier, like in this case the colours, so first you check for the colours and put them in their corosponding bucket. Then you sort each bucket (by using one of the sorting algoritms from the video for example) and afterwards at the sorted buckets to eachother.

bramhenstra
Автор

This is a very well polished video for a small channel

Jaice
welcome to shbcf.ru