-
在各种各样的搜索算法,AVL树搜索算法是SHO…
在各种各样的搜索算法中,AVL树的搜索算法可以将其最短的搜索时间做一个保证,本程序就是实现了AVL搜索算法-in a wide variety of search algorithm, AVL tree search algorithms can be the shortest time to do a search that The procedure is to achieve the AVL Search Algorithm
- 2023-05-23 18:45:03下载
- 积分:1
-
中南的数据结构试验1
中南的数据结构试验1-Indochina data structure a test
- 2022-01-23 10:51:20下载
- 积分:1
-
链表信息
学生信息建立
// 上机实验二.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "string.h"
struct Student
{
char id[10];
char name[10];
char sex[10];
char grade[10];
char tel[10];
int age;
};
- 2022-02-14 01:40:40下载
- 积分:1
-
基于数据结构的相关知识点,构造的基数排序
基于数据结构的相关知识点,构造的基数排序-Knowledge-based data structure point of radix sort
- 2022-09-30 17:50:03下载
- 积分:1
-
银行定储模拟程序
银行定储模拟程序-Reserve Bank is scheduled simulation program
- 2022-03-19 22:05:44下载
- 积分: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
-
这个是数据结构经典算法实现,是一些不错的算法
这个是数据结构经典算法实现,是一些不错的算法-shu ju jie gou jing dian suan fa shi xian
- 2022-06-21 22:44:35下载
- 积分:1
-
ESQL/C Informix C ~ { 7cnjj >;76 ~ }
ESQL/C Informix C~{7CNJJ>76~}
- 2022-07-20 10:27:45下载
- 积分:1
-
TwoEmbranchmentTree : As ancestor has its children, a tree has its leaves. we co...
TwoEmbranchmentTree:As ancestor has its children , a tree has its leaves.
we could check its leaves in terms of algorithm as preorder , midorder or postorder.-TwoEmbranchmentTree : As ancestor has its children, a tree has its leaves. we could check its leaves i n terms of algorithm as preorder. midorder or postorder.
- 2022-06-12 18:19:19下载
- 积分:1
-
library management system
它的图书馆管理项目是使用三个表…表是学生…问题。。。和预订…这是一个登录页..用户必须在其中登录。。密码是123,要输入的用户名是admin..谢谢。。
- 2023-06-17 19:25:03下载
- 积分:1