-
B+树实现源码,JAVA语言,数据库索引技术
B+树实现源码,JAVA语言,数据库索引技术-B+ Tree source, Java language, database indexing technology
- 2022-10-19 16:40: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
-
重大环境危险源管理仅供参考
重大环境危险源管理仅供参考-major source of environmental risk management is for reference only
- 2022-06-14 16:41:56下载
- 积分:1
-
对数据库的总分字段进行排序,填充到名次字段中去.
对数据库的总分字段进行排序,填充到名次字段中去.-Total field of the database to sort, filled to the field to finish.
- 2022-07-15 17:50:58下载
- 积分:1
-
通过数组,指针和图形进行逻辑判断!
通过键盘操作,图形界面的小程序。...
通过数组,指针和图形进行逻辑判断!
通过键盘操作,图形界面的小程序。-through the array, pointer and graphics logical judgment! Keyboard operation, a graphical interface small procedures.
- 2023-08-31 14:25:03下载
- 积分:1
-
这是我在英国的C语言导师自己所写的一个二叉树的程序。
这是我在英国的C语言导师自己所写的一个二叉树的程序。-This is a binary-tree programme written by my tutor in England.
- 2022-12-04 10:50:02下载
- 积分:1
-
高精度源程序,可进行任意长度的加减乘除模运算,本程序的大数用数组与表示数组长度一个结构表示...
高精度源程序,可进行任意长度的加减乘除模运算,本程序的大数用数组与表示数组长度一个结构表示-precision source, the length of the arbitrary arithmetic modulo operation, the majority of the procedures used with arrays of arrays length of a structure of
- 2023-01-07 03:50:03下载
- 积分:1
-
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下...
求解约瑟夫问题。设有n个人围成一个圆圈坐下,对所有围从的人从某个位置开始编号为1,2,3,……,n,从编号为1的人开始报数1,报数依交进行,报数n的人即出列,下一个人从1开始报数,再报数m的人便是第二个出列的人如此重复下去,直到最后一个人出列为止,于是便得到一个出列的顺序,这称之为约瑟夫(Josephu)问题。-solving problems. N individuals have formed a circle to sit down, all right Wai from the start from a position of No. 1, 2, 3, ..., n, for a number of people reported a few, according to several newspaper pay, the newspaper n ie the out, the next person was from the beginning a few , and reported m is the second out of this series continue to repeat until the final out in a series, then get a series out of order, which called Joseph (Josephu) problem.
- 2022-05-21 23:13:13下载
- 积分:1
-
101Csharp 代码示例
Csharp 代码示例中,我买了代码开发 Csharp 本书,这本书包含了 101 csharp 代码示例,今天我上传了书上所有的例子,我希望本书的例子对大家能有帮助。
- 2022-03-22 16:41:04下载
- 积分:1
-
备份及取备份.zip
备份及取备份.zip-backup and take backup. Zip
- 2022-03-18 20:09:35下载
- 积分:1