|
Algorithms_in_C
1.0.0
Set of algorithms implemented in C.
|
Problem 22 solution More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>Macros | |
| #define | MAX_NAMES 6000 |
| Maximum number of names to store. | |
| #define | MAX_NAME_LEN 20 |
| Maximum length of each name. | |
Functions | |
| void | shell_sort (char data[][MAX_NAME_LEN], int LEN) |
| Alphabetical sorting using 'shell sort' algorithm. | |
| void | lazy_sort (char data[][MAX_NAME_LEN], int LEN) |
| Alphabetical sorting using 'lazy sort' algorithm. | |
| int | main (int argc, char **argv) |
| Main function. | |
Problem 22 solution