Skip to content

mohamed-ghayyad/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SortAlgorithm C++ Application

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.

Features

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Intro Sort
  • Heap Sort
  • Merge Sort
  • Stable Sort
  • Performance Comparison

Requirements

  • C++17 or later
  • Standard Library (STL)

Usage

Clone the Repository

git clone https://github.com/yourusername/algorithms.git
cd algorithms

Compile the Code

Use a C++ compiler like g++:

g++ -std=c++17 -o SortAlgorithm main.cpp

Screenshot

Screenshot of sorting algorithm

Author

Mohamed Gamal

Feel free to reach out with any questions or suggestions!

About

Algorithms with C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages