-
排课表,对于给定的课程及其先序关系,给出所需学期数最少的排法。...
排课表,对于给定的课程及其先序关系,给出所需学期数最少的排法。-Course Scheduling table, for a given sequence of courses and their relationship first, given at least the required number of semester scheduling method.
- 2022-04-16 17:28:33下载
- 积分:1
-
data structure depicted in C language
数据结构C++语言描术―清华大学出版的-data structure depicted in C language-publication of Tsinghua University
- 2023-05-04 20:10:03下载
- 积分:1
-
数据结构经典算法,c源码,很齐全的,对学习数据结构很有帮助。...
数据结构经典算法,c源码,很齐全的,对学习数据结构很有帮助。-c program,
- 2022-02-05 00:25:39下载
- 积分:1
-
十分全的数据结构VC++源代码,是学习算法,设计,编程的必备资料,很实用的!...
十分全的数据结构VC++源代码,是学习算法,设计,编程的必备资料,很实用的!-The data structure is very full VC++ source code, is a learning algorithm, design, programming of the necessary information, it is useful!
- 2022-03-05 14:34:17下载
- 积分:1
-
c调用sqlite的完整的程序,对学习sqlite很有帮助
c调用sqlite的完整的程序,对学习sqlite很有帮助-c call sqlite complete the procedure, very helpful in learning sqlite
- 2022-04-16 20:14:15下载
- 积分:1
-
数据结构基本算法设计 用C++实现一个计算器,计算器需具有基本的功能...
数据结构基本算法设计 用C++实现一个计算器,计算器需具有基本的功能-basic algorithm data structure design to achieve a C calculator, calculator should have the basic functions
- 2022-02-14 16:08:04下载
- 积分:1
-
The code generator
代码将是des和dod AJJ;代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码将是des和dod AJJS代码是des和dod ajjs代码是des和dod ajjs代码是des和dod ajjs代码是des和dod ajjs
- 2022-11-02 04:50:06下载
- 积分:1
-
data export to Excel documents, etc.
数据导出到EXCEL文件等-data export to Excel documents, etc.
- 2023-08-10 21:30:03下载
- 积分:1
-
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
[问题描述]
将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N)
[输入]
待排序记录个数,各关键字的值。
[输出]
关键字从正负分开,正数在前
[存储结构]
待排序记录顺序存储。
[算法的基本思想]
快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。
#include
using namespace std
#define MAXNUM 100//设文件的最长可能长度
void sort(int* keys, const int len)//排序
-[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
- 2022-03-17 21:15:57下载
- 积分:1
-
数据结构:有关树所有操作
数据结构:有关树所有操作- Construction of data: The related tree all operates
- 2023-08-09 05:05:03下载
- 积分:1