The tasks in this directory aims to introduce me to the the different sorting algorithms and their respective time complexities.
At the end of this project, you are expected to know:
- At least four different sorting algorithms
- What is the Big O notation, and how to evaluate the time complexity of an algorithm
- How to select the best sorting algorithm for a given input
- What is a stable sorting algorithm
-
0-bubble_sort.c, 0-O - a function that sorts an array of integers in ascending
order using the Bubble sort algorithm -
1-insertion_sort_list.c, 1-O - a function that sorts a doubly linked list of integers in ascending
order using the Insertion sort algorithm -
2-selection_sort.c, 2-O - a function that sorts an array of integers in ascending order using the Selection sort algorithm
-
3-quick_sort.c, 3-O - a function that sorts an array of integers in ascending order using
the Quick sort algorithm