Data Structures UFC  1.0.0
Essential Data Structures for C language
Functions
sort.h File Reference

Go to the source code of this file.

Functions

void bubblesort (Type *v, int n)
 
void insertionsort (Type *v, int n)
 
void mergesort (Type *v, int n)
 
void quicksort (Type *v, int n)
 
void heapsort (Type *v, int n)
 
void print_vector (Type *v, int n)
 
void swap (Type *e1, Type *e2)
 
int check_sorted (Type *v, int n)
 
Type * random_vector (int n)
 

Function Documentation

void bubblesort ( Type *  v,
int  n 
)
int check_sorted ( Type *  v,
int  n 
)
void heapsort ( Type *  v,
int  n 
)
void insertionsort ( Type *  v,
int  n 
)
void mergesort ( Type *  v,
int  n 
)
void print_vector ( Type *  v,
int  n 
)
void quicksort ( Type *  v,
int  n 
)
Type* random_vector ( int  n)
void swap ( Type *  e1,
Type *  e2 
)