-
多项式与加法和乘法,链表的数据结构是美国的..
用链表实现多项式的加法与乘法,链表是采用数据结构里面的单链表-polynomial with the addition and multiplication, linked list data structure is used inside the single-linked list
- 2022-05-26 16:30:39下载
- 积分:1
-
北大ACM1455(Crazy tea party)
北大ACM1455(Crazy tea party)-North ACM1455 (Crazy tea party)
- 2022-05-16 11:18:11下载
- 积分:1
-
dormitories
数据结构与算法里,陈列馆中机器人看守问题。-dormitories
- 2022-12-29 11:50:04下载
- 积分:1
-
任务加入Coursera大数据数据
Coursera课程关于大数据的任务。第一项任务。
- 2022-07-18 21:40:44下载
- 积分:1
-
算法设计于分析中的多段图问题,用VC编写应用动态规划的算法设计方法,利用最优性原理以及所获得的递推关系式求取最优决策序列,通过多段图的定义,找到由源点s到汇点t...
算法设计于分析中的多段图问题,用VC编写应用动态规划的算法设计方法,利用最优性原理以及所获得的递推关系式求取最优决策序列,通过多段图的定义,找到由源点s到汇点t的最小成本路径,进而可以灵活解决可以用多段图描述的许多实际问题.-algorithm design in the analysis of many of the map, prepared with VC dynamic programming algorithm design, the optimum principle as well as the recursive relation to strike the optimal sequence of decision-making through more of the map defined by the source to find s t point to the Department of the minimum cost paths and further a flexible solution could spend more of the map describes the many practical problems.
- 2022-02-04 19:58:15下载
- 积分: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
-
单链表简单基数排序,关键字有三个,参与排序的关键字的值为0...
单链表简单基数排序,关键字有三个,参与排序的关键字的值为0-9之间的数-Simple single-chain base sequencing, there are three keywords to participate in the value of the keyword ranking for a number between 0-9
- 2022-07-12 16:24:08下载
- 积分:1
-
解析中央气象局下发的台风报文,提取有用信息,入数据库
解析中央气象局下发的台风报文,提取有用信息,入数据库-Analysis of the Central Weather Bureau issued a typhoon message, extract useful information into the database
- 2022-08-05 17:07:52下载
- 积分:1
-
矩形编码压缩源代码是针对图象压缩设计的程序,该算法可用于生物信息学,图象处理等方面...
矩形编码压缩源代码是针对图象压缩设计的程序,该算法可用于生物信息学,图象处理等方面-rectangular Coding source code is against image compression design process, the algorithm can be used bioinformatics, image processing, etc.
- 2023-02-01 06:10:03下载
- 积分:1
-
C + + 树示例
这是我的功课在我关于树的代码在 c + + 中的校园。如何创建树、 闹市、 dealocation、 查找数据、 将数据插入、 删除数据、 显示等。
- 2022-01-31 22:46:46下载
- 积分:1