搜索资源列表
heapsort
- 堆排序适合于待排序文件中记录较多的情况,因为其主要的时间开销在于建堆和调整堆-HEAPSORT be suitable for sorting paper records more, because the main overhead is the time to build reactors and adjusting the heap
AlgorithmGossip
- 排序 得分排行 選擇、插入、氣泡排序 Shell 排序法 - 改良的插入排序 Shaker 排序法 - 改良的氣泡排序 Heap 排序法 - 改良的選擇排序 快速排序法(一) 快速排序法(二) 快速排序法(三) 合併排序法 基數排序法-Sort ranked scoring option, insert, Bubble Sort Shell Sort- Insertion Sort Shaker improved sorting method- the i
sort
- 数据结构上让我们编写的排序算法,有冒泡,堆排序等-Data structure so that we prepared on sorting algorithms, there are bubble, heap sort, etc.
DATASTRU
- C语言的基本数据结构,如堆,链表,队列,stack 等-C language, the basic data structure, such as the heap, linked list, queue, stack, etc.
heapsort
- 从最后一个非叶子结点开始从后往前进行调整,保证了根下的所有子树都是最大堆,最后对根进行调整,使整棵二叉树为最大堆,保证了根结点为整棵数的最大值点,完成了建堆的过程,再将根结点跟最后一个结点进行交换,如此反复操作,则堆排序就完成了,其中堆排序的过程采用了满二叉树的概念。-From the final of a non-leaf node after the move began to be adjusted to ensure that the root of all sub-tree are t
tstheapswitch
- 完成在tigersharc201平台上划分出多个heap的操作,同时示例在多个heap之间切换时的方法,并做出各种内存下访问的cycle统计-Completed in tigersharc201 platform carved out a number of heap operations, while a number of examples in the heap when switching between the methods, and make all kinds of memory
sort
- 能够实现起泡法,二分法,堆排序,插入排序,选择排序,快速排序六种方法对100个数进行排序的时间空间复杂度进行比较-To achieve foaming method, dichotomy, Heap Sort, Insertion Sort, Selection Sort, Quick Sort six methods on 100 the number of sort of time and space complexity comparison
sort
- 自己编写的排序算法的代码,有桶排序,计数排序,基数排序,归并排序,堆排序,插入排序,快速排序,选择排序。-Sorting algorithm I have written the code, there are barrels of sorting, counting sort, Radix Sort, Merge Sort, Heap Sort, Insertion Sort, Quick Sort, select Sort.
paixu
- 数据结构用C语言实现的各种排序方法,有插入排序,堆排序,归并排序,快速排序,链式基数排序,冒泡排序,希尔排序,选择排序,折半排序。-Data structure using C language to achieve a variety of sequencing methods, have insertion sort, heap sort, merge sort, quicksort, chain base sort, Bubble Sort, Hill sort, select sort,
paixu
- 包括了5个基本排序过程,快速,冒泡,堆,选择,插入。-Includes five basic sort process, rapid, and bubble, heap, select Insert.
ACM
- 在一个圆形操场的四周摆放着n 堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2 堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。 例如,图1所示的4堆石,每堆石子数(从最上面的一堆数起,顺时针数)依次为4、5、9、4。则3次合并得分总和最小的方案为图2,得分总和最大的方案为图3。 编程任务: 对于给定n堆石子,编程计算合并成一堆的最小得分和最大得分。 -Playground in
ReaderFiles
- 所有算法 java原代碼(如bubble,select ,quick,heap...sort)-All algorithm java source code (such as bubble, select, quick, heap ... sort)
chuandeduicunchu
- CONSOLE APPLICATION : 串的堆存储 ======================================================================== AppWizard has created this 串的堆存储 application for you. This file contains a summary of what you will find in each of the files that
ccs
- 弗洛伊德算法,堆排序的时间,主要由建立初始堆和反复重建堆这两部分的时间开销构成,它们均是通过调用Heapify实现的。 -Floyd algorithm, HEAPSORT time, mainly by the establishment of the initial stack and heap repeatedly reconstruction spending time in these two parts of composition, they are by calling H
paixu
- 随机产生100个0到999的整数存放于分别用于快速排序和堆排序的2个整型数组和一个用于链式基数排序的静态链表之中。为整数序列的输出定义一个输出函数。依据快速、堆和基数排序三种不同的算法分别编写函数程序。-Randomly generated 100 0-999 integer stored in a separate stack for rapid sequencing and sequencing of two integer array and a base for the chain so
ch14
- 一、教学目的: 要求掌握C++对内存的管理方法,能灵活使用new和delete运算符对堆进行操作。理解和正确使用拷贝构造函数,理解临时对象和无名对象的概念。 二、教学重点: 通过大量的例程的分析,使学生正确掌握堆的分配释放操作,拷贝构造函数的使用。 三、教学难点: 深拷贝和浅拷贝的区别,临时对象和无名对象的理解。-I. Teaching Purpose: To request grasp C++ Memory management methods, the flexib
duipaixusuccess
- 实现了一种堆排序算法,堆排序利用了大根堆堆顶记录的关键字最大(或最小)这一特征,使得在当前无序区中选取最大(或最小)关键字的记录变得简单-The realization of a heap sort algorithm, HEAPSORT use of a large root piles Top keywords recorded the largest (or smallest) This feature, making the current disorder in the area, s
sort
- 对内部排序中常见的简单选择排序,堆排序等进行比较分析-Sort of internal common simple choice to sort, heap sort, such as a comparative analysis
sorting
- 快速排序算法,融合了选择排序和堆排序算法,使时间复杂度降为nlogn-Quick sort algorithm, the convergence of choices to sort and heap sort algorithm, so the time complexity is reduced nlogn
6
- 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了 一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的, 问海滩上原来最少有多少个桃子? -The beach there is a pile of peaches, five monkeys for hours. The first monkeys of this heap