Algorithms_in_C
1.0.0
Set of algorithms implemented in C.
|
Insertion sort algorithm implementation. More...
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
Functions | |
void | insertionSort (int *arr, int size) |
Insertion sort algorithm implements. More... | |
static void | test () |
Test function. More... | |
int | main (int argc, const char *argv[]) |
Insertion sort algorithm implementation.
void insertionSort | ( | int * | arr, |
int | size | ||
) |
Insertion sort algorithm implements.
arr | array to be sorted |
size | size of array |
|
static |
Test function.