文件名称:QuickSort
-
所属分类:
- 标签属性:
- 上传时间:2015-10-03
-
文件大小:1.2kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
任取待排序记录序列中的某个记录(例如取第一个记录)作为基准(枢),按照该记录的关键字大小,将整个记录序列划分为左右两个子序列:
左侧子序列中所有记录的关键字都小于或等于基准记录的关键字
右侧子序列中所有记录的关键字都大于基准记录的关键字
-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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.