設初始序列為a1,a2,……,an,以序列中的某個元素ai為基準(軸),經調整后,使得ai左邊的元素均小于ai,右邊的均大于等于ai,而后對這兩個子區再分別使用快速排序。
[具體要求]
(1) 需要用一維數組a來存儲等待排序的序列;
(2) 設置兩個工作指針i和j;
(3) 每次快速排序都以排序區域的首元素為基準(軸);
(4) 程序用遞歸函數來實現。
資源簡介:Program to implement a list data structure in c++ (partial) With debug output for poor-man s animation
上傳時間: 2016-02-02
上傳用戶:litianchu
資源簡介:fundation of data structure in c 計算機優秀圖書英文版
上傳時間: 2013-12-08
上傳用戶:1966640071
資源簡介:data structure in c ebook
上傳時間: 2013-12-28
上傳用戶:kernaling
資源簡介:data structure in c e-book
上傳時間: 2017-08-30
上傳用戶:shizhanincc
資源簡介:設初始序列為a1,a2,……,an,以序列中的某個元素ai為基準(軸),經調整后,使得ai左邊的元素均小于ai,右邊的均大于等于ai,而后對這兩個子區再分別使用快速排序。 [具體要求] (1) 需要用一維數組a來存儲等待排序的序列; (2) 設置兩個工作指針i和j;...
上傳時間: 2015-12-28
上傳用戶:markhu53
資源簡介:c++快速排序法
上傳時間: 2015-02-03
上傳用戶:釣鰲牧馬
資源簡介:Data Structures in C:Concept and Implementation. Data Structures in C Power Point
上傳時間: 2016-05-21
上傳用戶:semi1981
資源簡介:This is a safe double linked list data structure in order to store data on void* pointer for data segment.
上傳時間: 2017-04-22
上傳用戶:youmo81
資源簡介:Fundamentals of Data Structures in c++by Ellis Horowitz , Sartaj Sahni , Dinesh Mehta我想做它的習題來提高,可沒有答案,也不知道做對沒有或者 ...
上傳時間: 2017-08-07
上傳用戶:lili123
資源簡介:binary search tree is umplemented using data structures in c++
上傳時間: 2014-01-23
上傳用戶:semi1981
資源簡介:浙江大學計算機學院數據結構課程的教學課件,就是經典教材《Fundamentals of Data Structure in C》的課件。
上傳時間: 2013-12-31
上傳用戶:fxf126@126.com
資源簡介:In addition to individual algorithm, Demonstration System is a "data structure" (C language version) book algorithm corresponding to the code (CPP) and the test operating procedures (VC + +6.0 to the EXE). Through the system can demonstrate...
上傳時間: 2013-12-24
上傳用戶:change0329
資源簡介:快速排序算法的C語言的源程序代碼 source code written in C programming language for algorithm of quick sort.
上傳時間: 2016-01-23
上傳用戶:pompey
資源簡介:list is a data dtructure. this is a data structure type implemantation and it is implemented in C prgramming language. General header contains pointer to object so list.c in c is implemented in generic way.
上傳時間: 2017-03-27
上傳用戶:LIKE
資源簡介:c pre preocessor directive for debug messages and queue data structure implementation in c++.
上傳時間: 2013-12-15
上傳用戶:sy_jiadeyi
資源簡介:Student result management system Use the C language realization system 2, the data structure making use of the structure body several realization student s result design 3, the system have increment, search, insert, row preface etc. b...
上傳時間: 2013-11-29
上傳用戶:1966640071
資源簡介:快速排序算法的c實現
上傳時間: 2014-01-18
上傳用戶:luopoguixiong
資源簡介:Complete video store application in c++ using linked lists to store data in files. it keeps track of videos and customers and have many checks and options.
上傳時間: 2014-06-20
上傳用戶:zhoujunzhen
資源簡介:這是數據結構和算法的國外經典書籍.清華大學出版社出版的<數據結構c++語言描述-應用模板庫STL>陳君 譯 英文名稱是Data Structures with c++ Using STL. 作者: William Ford ,William Topp . 代碼代碼當中包含各種經典算法 ,比如各種排序 如選擇排序,基數排序...
上傳時間: 2014-01-05
上傳用戶:zhangyi99104144
資源簡介:幾種排序算法的C語言實現 用函數實現如下算法: (1) 直接插入排序, 希爾排序 (2) 冒泡排序, 快速排序 (3) 選擇排序, 堆排序 (4) 歸并排序 (5) 基數排序
上傳時間: 2015-05-18
上傳用戶:kristycreasy
資源簡介:c algorithm source code for gerneral data structure
上傳時間: 2013-12-10
上傳用戶:ggwz258
資源簡介:快速排序c++源碼,已測試過
上傳時間: 2015-06-13
上傳用戶:dragonhaixm
資源簡介:快速排序算法,很好用,用c++編,拷貝在文本里,大家可以參考參考哦.
上傳時間: 2015-06-30
上傳用戶:FreeSky
資源簡介:用c++編的排序的操作,這個是快速排序,有時間我會多上載幾個別的
上傳時間: 2014-02-09
上傳用戶:星仔
資源簡介:Algorithms in C, Parts 1-4 (Fundamental Algorithms, Data Structures, Sorting, Searching) code
上傳時間: 2013-12-10
上傳用戶:zukfu
資源簡介:Algorithms in c++, Parts 1-4 (Fundamental Algorithms, Data Structures, Sorting, Searching) code
上傳時間: 2015-10-03
上傳用戶:JIUSHICHEN
資源簡介:快速排序的C語言原程序,希望對大家有幫助!!我覺得還可以
上傳時間: 2013-12-28
上傳用戶:yt1993410
資源簡介:Data Structures and Algorithms with Object-Oriented Design Patterns in C# 這本書的范例代碼dll自己反編譯的source code http://www.brpreiss.com/books/opus6/
上傳時間: 2013-11-29
上傳用戶:xuanjie
資源簡介:數據結構中算法之一的快速排序法的C語言實現的源代碼。
上傳時間: 2015-11-26
上傳用戶:dragonhaixm
資源簡介:快速排序與最長公共子序列算法(Visual c++)
上傳時間: 2013-12-26
上傳用戶:hzy5825468