转载自:http://java2novice.com/java-sorting-algorithms/
Java Sorting Algorithms
A sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the use of other algorithms such as search and merge algorithms, which require input data to be in sorted lists; it is also often useful for canonicalizing data and for producing human-readable output.
Java Sorting Algorithms Examples
- Implement bubble sort in java.(冒泡排序)
- Implement selection sort in java.(选择排序)
- Implement insertion sort in java.(插入排序)
- Implement quick sort in java.(快速排序)
- Implement merge sort in java.(归并排序)