Here you can find simple sorting algorithms implementations using C language.
- Insertion Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Heap Sort
- Counting Sort
- Radix Sort
- Ubuntu 17.04.
- GCC 6.3.0 or above.
To compile you have to simple type make on your console:
$ make
To run, you have to envoke make and type the algorithm you want to run.
If you want to use the Insertion Sort algorithm:
$ make insertion
If you want to use the Selection Sort algorithm:
$ make selection
If you want to use the Merge Sort algorithm:
$ make merge
If you want to use the Quick Sort algorithm:
$ make quick
If you want to use the Heap Sort algorithm:
$ make heap
If you want to use the Counting Sort algorithm:
$ make counting
If you want to use the Radix Sort algorithm:
$ make radix
PS: Use this algorithm only with "samples/text.txt".