void insertion_sort(t_gen a, int n, t_dparams *op)
Insertion sort builds the final sorted array one item at a time. It has an O(n2) time complexity
void quick_sort(t_gen a, int n, t_dparams *op)
Quicksort is an in-place sorting algorithm is a divide and conquer algorithm which relies on a partit...
void selection_sort(t_gen a, int n, t_dparams *op)
Selection sort is an in-place comparison sorting algorithm. It has an O(n2) time complexity
void merge_sort(t_gen a, int n, t_dparams *op)
void bubble_sort(t_gen a, int n, t_dparams *op)
Bubble sort is simplest sorting algorithm that works by repeatedly swapping the adjacent elements if ...
Top level include containg common headers.
void * t_gen
Base Data type used for all data structure and data elements.