https://youtu.be/q0bl1gmp1CY
- Pygame
- Python
- Data strucutre (list, tuple, Binary Heap)
- Object-Oriented Programming (OOP)
- Conditional statements
- Function from pygame library
- Recursion
We all use sorting algorithms to sort and make list, array in some sort of order and I visualised these process in my project. Sorting visualisation is my personal project that visualised six different sorting algorithms such as selection, bubble, merge or quick sort - I did the project in Python with pygame library.
The solution for this project is coded in python using library pygame. There is only one object in this project, bar, has attribute of x, y, width and height represent for its value and its position in the list. The project has six different sorting algorithms in total including:
- Selection sort
- Bubble sort
- Merge sort
- Quick sort
- Heap sort
- Insertion sort
Note: pygame library need to be installed before running this project.