Algorithms_in_C  1.0.0
Set of algorithms implemented in C.
shell_sort2.c File Reference

Shell sort algorithm implementation. More...

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
Include dependency graph for shell_sort2.c:

Functions

void show_data (int *arr, long len)
 Helper function to print array values.
 
void swap (int *a, int *b)
 Swap two integer variables. More...
 
void shell_sort (int *array, long LEN)
 Shell sort algorithm. More...
 
int main (int argc, char *argv[])
 Main function.
 

Detailed Description

Shell sort algorithm implementation.

Author
Krishna Vedala