-
涵盖多种算法,非常全面,可以下载到硒…
包罗各种算法,相当全面,可以下载看看,具体有单元加、求进制、汉诺塔、底层编程、小写数字转为大写数字、数据结构、算法基础等等。-Cover a variety of algorithms, is very comprehensive and can be downloaded to see the specific unit plus, and band, Tower of Hanoi, the underlying programming, lower case to upper case the number of figures, data structures, algorithms, etc. basis.
- 2022-01-22 13:32:15下载
- 积分:1
-
car park management system, more complex, for your study reference!
停车场管理系统,比较复杂,供大家学习参考!-car park management system, more complex, for your study reference!
- 2022-03-09 17:37:13下载
- 积分:1
-
topological sorting, data structure of the operations.
拓扑排序,数据结构的作业。-topological sorting, data structure of the operations.
- 2022-02-02 03:01:54下载
- 积分:1
-
数据结构学习中很重要的一章顺序栈,代码简单易懂
数据结构学习中很重要的一章顺序栈,代码简单易懂-Data structure to learn a very important chapter of the order of the stack, easy-to-read code
- 2022-04-20 14:03:53下载
- 积分:1
-
可以进行简单的S型座位编排!这是一个数据库应用的小程序,可以继续扩展其功能...
可以进行简单的S型座位编排!这是一个数据库应用的小程序,可以继续扩展其功能-can conduct a simple S-type seating arrangements! This is a small database application procedures, can continue to expand its functions
- 2023-07-13 05:40:02下载
- 积分:1
-
assess数据库在线管理程序.
assess数据库在线管理程序.-assess online database management procedures.
- 2023-03-31 04:35:04下载
- 积分:1
-
基于C语言的各种典型排序算法:插入排序,气泡排序,希尔排序,快速排序,选择排序。可以用VC直接编译运行。...
基于C语言的各种典型排序算法:插入排序,气泡排序,希尔排序,快速排序,选择排序。可以用VC直接编译运行。-Based on the C language provides a variety of sorting algorithms: insertion sort, bubble sort, Shell sort, quick sort, selection sort. VC can be directly translated to run.
- 2022-01-24 09:36:26下载
- 积分:1
-
Included in the sequence of recursive binary tree traversal and non
包含中序遍历二叉树的递归和非递归算法的源代码-Included in the sequence of recursive binary tree traversal and non-recursive algorithm source code
- 2023-05-06 04:15:03下载
- 积分:1
-
数据结构编程源代码
数据结构编程源代码- Construction of data programming source code
- 2023-04-05 11:55: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