A Sorting Algorithm is used to rearrange a given array or list elements according to a comparison operator on the elements.
- Selection Sort.
- Bubble Sort.
- Recursive Bubble Sort.
- Ubuntu 14.04 LTS
- MacOs/Windows OS
- General
- Allowed editors: vi, vim, emacs
- All your files will be compiled on Ubuntu 14.04 LTS
- Functions will be compiled with gcc 4.8.4 using the flags -Wall -Werror -Wextra and -pedantic
- All your files should end with a new line
- No more than 5 functions per file
Write a function that sorts an array of integers in ascending order using the Bubble sort algorithm
Write a function that sorts a doubly linked list of integers in ascending order using the Insertion sort algorithm
Write a function that sorts an array of integers in ascending order using the Selection sort algorithm
Write a function that sorts an array of integers in ascending order using the Quick sort algorithm
In your terminal, git clone the directory with the following command:
git clone https://github.com/vickky9ice/[Github project directory]$ git clone https://github.com/vickky9ice/sorting_algorithms.git
$ cd sorting algorithms
$ used gcc -Wall -Wextra -Werror -pedantic (file)-main.c..Adeboye Victor Oyekanmi
