Sorting and Searching

The following is a collection of algorithms in Turbo Pascal.
The key reference for all this has been the book by Donald Knuth.

 
Un-sorting (shuffling)

 
Sorting by counting

 
Straight insertion sort

 
Shell's sort

 
Adress calculation sorting

 
Bubble sort

 
Batcher's parallel method

 
Quick sort

 
Radix-exchange sort

 
Heap sort

 
Two-way merge (internal)

 
Two-way merge (external)

 
Straight two-way merge sort for internal array's of size 2^N

 
Straight two-way merge sort of sample sequential file

 
Binary search

 
Uniform binary search