Sorting Algorithm Tutorials - Herong's Tutorial Examples - 6.12, by Herong Yang
What Is Sorting?
This section describes what is sorting - A process to organize a collection of data elements based on the order of a comparable property of each element.
What Is Sorting? Sorting is to organize a collection of data elements based on the order of a comparable property of each element.
There are three concepts in this definition:
Examples of sorting:
A yellow-page book:
An English dictionary:
Warning: For certain types of data elements, the comparable property is not so easy to find. For example, what is the comparable property that can be used to sort the characters in a Chinese dictionary?
Table of Contents
►Introduction of Sorting Algorithms
Most Popular Sorting Algorithms
Java API for Sorting Algorithms
Insertion Sort Algorithm and Java Implementation
Selection Sort Algorithm and Java Implementation
Bubble Sort Algorithm and Java Implementation
Quicksort Algorithm and Java Implementation
Merge Sort Algorithm and Java Implementation
Heap Sort Algorithm and Java Implementation
Shell Sort Algorithm and Java Implementation
Sorting Algorithms Implementations in PHP
Sorting Algorithms Implementations in Perl
Sorting Algorithms Implementations in Python