Implemented using Unity and C#.
Currently, the following algorithms are implemented:
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Selection Sort
Due to my limited understanding of how Coroutines work in Unity, I had to implement the sorting algorithms in one function.
SortingAlgorithmsVisualizer.-.Bubble.Sort.mp4
SortingAlgorithmsVisualizer.-.Insertion.Sort.mp4
SortingAlgorithmsVisualizer.-.Merge.Sort.mp4
SortingAlgorithmsVisualizer.-.Quick.Sort.mp4
SortingAlgorithmsVisualizer.-.Selection.Sort.mp4
You need to have Unity 2022.3.27f1 or later. You can open this project, run it in play mode, or build and run it.