资源列表
5235
- 本代码实现了数据结构二叉树的遍历转化 容易 易懂 -This code implements the traversal binary tree data structure is easy to understand conversion
Cpp1
- 实验目的: 学习用指针构造链表,操作链表 实验内容: 输入两个非降序列,转换成两个非升序列,合并成一个非升序列。 基本要求: 用链表实现。 完成解题报告 -Experimental Objective: To study the list with a pointer structure, the operation contents of the list experiment: two non-reducing input sequence into a seq
5-3
- 用随机函数产生5000个随机数,用快速,堆,直接插入,冒泡,归并等排序方法排序并统计系统时间-5000 with a random function random number, with quick, heap, direct insertion, bubble, merge sort methods such as sorting and statistical system time
shujujiegou
- 数据结构课程设计,倒排表,图书馆管理系统-Data structure course design, inverted table, the library management system
8shuma
- 使用c语言编写的一个关于8数码问题的程序,可以运行。-C language using a program on the 8 digital issues, you can run.
Jorseve
- 用于解决约瑟夫问题。堆栈方法。约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号。 -Joseph used to solve the problem. Stack method. Josephus problem is a well-known problem: N individual circle, starting from the first report n
zhebanchazhao
- 折半查找的算法。将数列按有序化(递增或递减)排列,查找过程中采用跳跃式方式查找,即先以有序数列的中点位置为比较对象,如果要找的元素值小于该中点元素,则将待查序列缩小为左半部分,否则为右半部分。通过一次比较,将查找区间缩小一半。 -Binary search algorithm. The series by ordering (ascending or descending) order, find the process of using leap way to find that the fi
data_struct
- 400多页的数据结构PPT, 从线性表到图全部涵盖,最后还有几个实例算法. 写的非常好!! 请用WORD 2003/WORD 2007 /wps以只读方式打开.-400 pages of data structures PPT, from linear table to map all the covers and, finally, several examples of algorithms. Was very good!! Please use WORD 2003/WORD 2007/
Data_struct_all
- 数据结构, 精华文档, 400多页. 从线性表到图,应有尽有, 还附带几个常见算法. 强力推荐.-Data structure, the essence of the document, 400 pages. From linear form to the chart, everything, also with several common algorithms. Highly recommended.
Test(2)
- 用循环单链表实现: N个人围圆圈而坐,分别标以数字1到N。从坐在1号的位置的人开始依次传递土豆。M次传递之后,拿到土豆的人被排除,圆圈收缩,然后从离开圆桌的人后面的那个人开始继续游戏。游戏一直进行,直到留下最后一个人,为赢家。因此,如果M=0且N=5,所有的人依次被排除,5号最后胜利。如果M=1且N=5,排除的顺序为2,4,1,5. -Achieved with cyclic single-linked list: N individuals sitting around a circl
erchashu
- 二叉树的c语言编程,数据结构的课程设计,简单易懂。学生编写-Binary tree c language programming, data structures curriculum design, easy to understand. Students write
Bubble
- 试分别实现交换排序和非递归形式的快速排序算法,并通过随机数据比较两种排序算法的关键字比较次数和关键字移动次数。 (1)待排序表的表长不小于100;其中的数据要用伪随机数产生程序产生;至少要用5组不同的输入数据作比较;比较的指标为有关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。 (2)最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。 (3)对快速排序算法进行适当的优化,并列出优化前后的效率对比。 -Subjects were asked to a
