Sorting/Ints/countingSort.c File Reference

Implementation of CountingSort over integer array Implementation of counting-sort using integer array where each element is drawn from the range [0,k). More...

#include <stdlib.h>

Functions

void countingSort (int *ar, int n, int k)
 Definition of counting sort.


Detailed Description

Implementation of CountingSort over integer array Implementation of counting-sort using integer array where each element is drawn from the range [0,k).

Author:
George Heineman
Date:
6/15/08

Function Documentation

void countingSort ( int *  ar,
int  n,
int  k 
)

Definition of counting sort.

Algorithm Development Kit 1.0