Data Structures Lerax 1.0.0
Essential Data Structures for C language
Loading...
Searching...
No Matches
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

◆ bubblesort()

void bubblesort ( Type * v,
int n )

◆ check_sorted()

int check_sorted ( Type * v,
int n )

◆ heapsort()

void heapsort ( Type * v,
int n )

◆ insertionsort()

void insertionsort ( Type * v,
int n )

◆ mergesort()

void mergesort ( Type * v,
int n )

◆ print_vector()

void print_vector ( Type * v,
int n )

◆ quicksort()

void quicksort ( Type * v,
int n )

◆ random_vector()

Type * random_vector ( int n)

◆ swap()

void swap ( Type * e1,
Type * e2 )