/SortingAlgorithms

Most famous Sorting Algorithms implemented in C

Primary LanguageCMIT LicenseMIT

SortingAlgorithms

SortingAlgorithms

Most famous Sorting Algorithms implemented in C

License MIT

Installation

$ git clone https://github.com/PacLucas/SortingAlgorithms.git

Usage

Open the terminal directly in the file and type

$ gcc main.c sortAlg.c src/baseInput.c src/ranGen/mt19937ar.c -o sorting

after compiling, run using

$ ./sorting

Algorithms

Worst and Average Case Time Complexity: O(n²)

Best Case Time Complexity: O(n)

Worst and Average Case Time Complexity: O(n²)

Best Case Time Complexity: O(n)

Worst, Average and Best Case Time Complexity: O(n log n)

Worst Case Time Complexity: O(n²)

Average and Best Case Time Complexity: O(n log n)

Worst, Average and Best Case Time Complexity: O(n²)

References

Mersenne Twister (PRNG) - by Makoto Matsumoto