Sorting Visualizer written in C++ using the SDL2 library. The program generates random array of numbers and also prints the time taken to sort the array.
Algorithms included:
- Bubble Sort θ(n^2)
- Insertion Sort θ(n^2)
- Selection Sort θ(n^2)
- Quick Sort θ(n log(n))
- Merge Sort θ(n log(n))
- Heap Sort θ(n log(n))
Demo:
1.Heap Sort