资源列表
queue
- (一)题目: 假设以带头结点的循环链表表示队列,并且只设一个指针指向队尾元素结点而不设头指针,试编写相应的队列初始化、入队列、出队列和判断队列状态的算法。 利用上述算法完成下面的各操作,并在每一操作后输出队列状态。 1)下列元素逐一入队:5,7,3,8,55 状态:5个元素 2) 3个元素出队 状态:2个元素 3)再2个元素出队 状态:队空 4)再1个元素出队 状态:队空(指示下溢) -(A) Title: Suppose to take the l
Sicily.1763
- 中山大学OJ(Sicily)题目1763的解题报告,使用DFS算法。-Sun Yat-sen OJ (Sicily) problem-solving questions 1763 report, the use of DFS algorithm.
TestBFS
- BFS算法寻找最短路径 BFS算法寻找最短路径 BFS算法寻找最短路径-BFS algorithm to find the shortest path
stone
- 动态规划-最小代价子母树源码,主要提供参考。-Dynamic Programming- PIP minimum cost tree source, the main reference.
block
- 利用折半查找确定记录所在块的分块查找算法. 读入各记录建立主表,按L个记录/块建立索引表, 对给定关键字k进行查找-Use binary search to determine where the block record block search algorithm. Read into the record to establish the main menu, press L record/block index table, k for a given keyword searc
shiyan1
- 创建单链表;在单链表上查找第i个数据结点,返回其data值;在单链表第i个位置上插入一个取值为value的新的数据结点;删除单链表第i个数据结点,并返回该数据结点的取值;求单链表的长度。-Create a single list in a single list on the first i find a data node, return the data value in a single list on the first i positions to insert a value f
BiTree
- 二权树的一个实验,看看是否有借鉴作用 ,下载之后-Second, the right of the tree an experiment to see if there is reference, after downloading a look
crc16.cpp
- 128位数据的16位循环冗余校验(crc16),使用bitset实现。-128-bit data, 16-bit Cyclic Redundancy Check (crc16), use the bitset implementation.
Sort
- 计算出各种排序方法所用时间(直接插入排序,希尔排序,冒泡排序,快速排序)-Various sorting methods to calculate the time spent (direct insertion sort, shell sort, bubble sort, quick sort)
Monkey
- 猴子吃桃数组解决 有一群猴子摘了一堆桃子,他们每天都吃当前桃子的一半且再多吃一个,到了第10天就只余下一个桃子。求出原来这群猴子共摘了多少个桃子。-Monkey eating a group of monkeys to solve an array of peach picked a bunch of peaches, peaches they currently eat every day and then eat a half, to the first 10 days left in a
duoceng
- 多层有界边界吸收 c语言 弹性波波动方程求解方法-duo ceng you jie bian jie, C yu yan, tan xing bo dong fang chneg
mergesort
- 归并排序算法,c++代码。利用mergesort算法读取文件并对其中数据排序-Merge sort algorithm, c++ code