文件名称:QuickSort
介绍说明--下载内容均来自于网络,请自行研究使用
任取待排序记录序列中的某个记录(例如取第一个记录)作为基准(枢),按照该记录的关键字大小,将整个记录序列划分为左右两个子序列:
左侧子序列中所有记录的关键字都小于或等于基准记录的关键字
右侧子序列中所有记录的关键字都大于基准记录的关键字
-Take any sequence of records to be sorted in a record (for example, take the first record) as a reference (pivot), in accordance with the size of the record key, the whole record sequence is divided into two sub-sequences about: the left sub-sequences all keyword record less than or equal to the reference sequence record key on the right side of all the records of the keywords are greater than the reference record of keyword
左侧子序列中所有记录的关键字都小于或等于基准记录的关键字
右侧子序列中所有记录的关键字都大于基准记录的关键字
-Take any sequence of records to be sorted in a record (for example, take the first record) as a reference (pivot), in accordance with the size of the record key, the whole record sequence is divided into two sub-sequences about: the left sub-sequences all keyword record less than or equal to the reference sequence record key on the right side of all the records of the keywords are greater than the reference record of keyword
(系统自动生成,下载前可以参看下载内容)
下载文件列表
QuickSort.cpp