Python Sorting Algorithms Visualised - 11 Sorting Algorithms

Fraser Love
Fraser Love
4.6 هزار بار بازدید - 5 سال پیش - In this video, 11 different
In this video, 11 different sorting algorithms are visualised. The sorting algorithms in this video are: selection sort, bubble sort, insertion sort, shell sort, radix sort, cocktail sort, gnome sort, merge sort, quick sort, heap sort and bucket sort. All sorting algorithms and the visualiser are written in Python. The visualiser specifically uses Pygame as a graphical interface, and colours the two elements green and red being swapped. Note that the time it takes for each sorting algorithm to complete in this video is not indicative of its real world performance and this visualiser should not be used to compare the execution times of these algorithms. This is due to the fact that a large percentage of the execution times of these algorithms is used in swapping the graphical elements in Pygame.

Check out the source code for this visualiser https://github.com/fraserlove/algo-la...

Check out my personal blog https://fraser.love
Follow me on GitHub https://github.com/fraserrlove
Subscribe to my newsletters https://fraser.love/#/portal

Music was provided by Declan DP

0:00 Introduction
0:59 Selection Sort
1:29 Bubble Sort
2:00 Insertion Sort
2:32 Shell Sort
4:15 Radix Sort
5:19 Cocktail Sort
5:42 Gnome Sort
7:16 Merge Sort
7:59 Heap Sort
9:41 Bucket Sort
9:55 Quick Sort
5 سال پیش در تاریخ 1398/08/28 منتشر شده است.
4,647 بـار بازدید شده
... بیشتر