This video was created for
It demonstrates two comparison sorting algorithms: Bubble sort and Quick sort.
Comparison sorting algorithms are only allowed to ’see’ the data through a sequence of pair-wise comparisons, therefore they are applicable to any type of comparable objects: numbers, strings, colored balls, etc
Bubble sort is very simple but has poor performance. A comparison sorting algorithm’s performance is usually measured by the number of comparisons it makes. Bubble sort performs on the order of n^2 comparisons to sort n elements.
Quick sort is only slightly more complicated but usually performs much better (as demonstrated in the video). It performs on average an order of n log(n) comparisons to sort n elements. This is much lower than n^2 for large values of n. However, if the algorithm makes some ’unlucky’ choices it might require n^2 comparisons after all.
Other algorithms exist that guarantee the number of compariso
13 views
0
0
6 days ago 00:13:22 2
Most Beautiful Moments - Women’s Pole Vault Golden Roof Challenge Innsbruck 2023 Athletics
7 days ago 03:00:00 1
ZEN GARDEN MUSIC: Japanese Melodies with Female Vocals and Relaxing Visuals
1 week ago 00:00:31 2
How To Train Your Dragon | Big Game Spot
2 weeks ago 00:02:22 1
2025 Recap AI : Trump
3 weeks ago 00:03:04 1
Armin van Buuren & John Christian - All Night [Visualizer]
3 weeks ago 00:02:16 1
The End of The Sun - Official Release Date Trailer | A Slavic Mythology Adventure Game
3 weeks ago 00:05:40 1
Eminem - When I Die (Music Video) [2025]
4 weeks ago 01:31:21 1
Beautiful Relaxing Music - Stop Overthinking, Stress Relief Music, Sleep Music, Calming Music
4 weeks ago 00:02:17 2
Blindfolded by Love: The Escape
4 weeks ago 00:03:28 2
“The Challenge“ FULL Animation by Gwendy [ EPIC the Musical ]
4 weeks ago 00:03:40 1
Marc Philippe - Broken Mess (Lyric Video)
1 month ago 00:01:55 28
World of Tanks Blitz Reforged Update: Join the First Ultra Test!