Sorting Algorithms General Implementations in C Programming Language
sort-algos-int.c
is the most naive version. Every C programming language beginner could understand it.sort-algos-int-with-func.c
is the more advanced version based onsort-algos-int.c
. In this sort of sorting algorithms, we implement the sorting algorithms withcmp_func
to define the sorting rules.sort-algos.c
is the most general version to sort any kind of data type with any kind of sorting rules. For more information or usage of the most general version of sorting algorithms, you may find it insort-algos/sort-test.c
Tested Platform:
- macOS 10.15
- Ubuntu