Algorithms_in_C
1.0.0
Set of algorithms implemented in C.
|
Implementation of merge sort algorithm. More...
#include <stdio.h>
#include <stdlib.h>
Functions | |
void | swap (int *a, int *b) |
Swap two integer variables. More... | |
void | merge (int *a, int l, int r, int n) |
Perform merge of segments. More... | |
void | merge_sort (int *a, int n, int l, int r) |
Merge sort algorithm implementation. More... | |
int | main (void) |
Main function. | |
Implementation of merge sort algorithm.