This C++ application provides implementations of various sorting algorithms and compares their performance. The SortAlgorithm class template includes functions for Bubble Sort, Selection Sort, Insertion Sort, Intro Sort, Heap Sort, Merge Sort, and Stable Sort. It measures and outputs the time each algorithm takes to sort a dataset.
- Bubble Sort
- Selection Sort
- Insertion Sort
- Intro Sort
- Heap Sort
- Merge Sort
- Stable Sort
- Performance Comparison
- C++17 or later
- Standard Library (STL)
git clone https://github.com/yourusername/algorithms.git
cd algorithmsUse a C++ compiler like g++:
g++ -std=c++17 -o SortAlgorithm main.cppMohamed Gamal
Feel free to reach out with any questions or suggestions!