I wrote this in the early part of 2016 when I was taking MTE 140 (Data Structures and Algorithms) at UWaterloo. Sorting code has not been substantially modified since then, although I have moved the project to CMake and added benchmarking.
Current algorithms implemented:
- Bubble Sort
- Selection Sort
- Merge Sort
- Heap Sort
- Quicksort
- Install Google benchmark
cmake .
make
./SortingTestBench
Sample benchmark output:
- More efficient counting sort