-
数据结构 课件 东软内部资料!! 给需要的人
数据结构 课件 东软内部资料!! 给需要的人-Neusoft courseware data structure internal information! ! To those who need it
- 2022-08-08 07:28:26下载
- 积分:1
-
全国计算机等级考试三级的部分上级题算法,对上机考试还不是很熟的人,很有帮助(并非书上的答案,是本人自己想的算法)...
全国计算机等级考试三级的部分上级题算法,对上机考试还不是很熟的人,很有帮助(并非书上的答案,是本人自己想的算法)-National Computer Rank Examination some three superiors that the algorithm, right on the test machine is not very familiar with the helpful (and not the answer book, I want to own the algorithm)
- 2022-07-02 07:37:16下载
- 积分:1
-
money can answer the questions
钱能C++习题答案-money can answer the questions
- 2023-04-12 22:35:04下载
- 积分:1
-
此代码是一个数据结构课程设计――飞机订票系统.
此代码是一个数据结构课程设计――飞机订票系统.-this code is a data structure course design-- aircraft booking system.
- 2023-07-03 12:25:03下载
- 积分:1
-
这些都是金典的c语言的例子,是语言学习者的必备
这些都是金典的c语言的例子,是语言学习者的必备-These are the c language examples of the sort of language learners
- 2022-01-25 17:53:34下载
- 积分:1
-
VB6 and ActiveX
- 2022-01-28 03:37:05下载
- 积分: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
-
introduces a simple data structure of the building and its use
简单介绍了一种数据结构的构建及其使用情况-introduces a simple data structure of the building and its use
- 2022-07-01 01:18:34下载
- 积分:1
-
超市进销存管理系统源码,采用的是Visual Basic 语言和ACCESS数据库的综合...
超市进销存管理系统源码,采用的是Visual Basic 语言和ACCESS数据库的综合-Purchase, Sales and Inventory management system stores source code, are used in Visual Basic language and ACCESS Database General
- 2022-05-05 10:30:12下载
- 积分:1
-
链式结构堆栈类的类模板实现及用堆栈类求解N皇后问题
链式结构堆栈类的类模板实现及用堆栈类求解N皇后问题-chain structure of the stack type and class template stack used for solving problems N Queen
- 2022-03-02 18:41:52下载
- 积分:1