资源列表
[数据结构常用算法] calculate01
说明:假设集合A和B的元素都是整数,并利用两个线性表la和lb分别存放集合A和B的成员。现依次取出lb中的每个元素,按其值查找线性表la,若la中不存在该元素,则将它插入到la中去,最后线性表la就存放了集合AUB的元素。-Assume a collection of elements of A and B are integers, and two linear tables la and lb, respectively, to store the sets A and B members. No<Reggie> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] treenode
说明:画出一棵二叉树,写出按照initial()函数建立该二叉树的字符序列。编写一个程序能建立一棵二叉树,并求所有叶子及结点总数。-Draw a binary tree, write in accordance with the initial () function to establish the sequence of characters of the binary tree. Write a program to establish a binary tree, and ask all th<Reggie> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] chuanjiaoshi
说明:有3个传教士和3个野人要过河,只有一艘船,这艘船每次只能载2个人过河,且无论哪边野人的数量大于传教士的数量时,野人就会吃掉传教士。怎样让他们都安全过河?-Three missionaries and three wild man to cross the river, only one ship, the ship can only set two individuals across the river, and regardless of which side of Savage s num<qiong> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] paixufangfa
说明:选择,插入,冒泡三种排序方法。 选择,插入,冒泡三种排序方法。 -Select, insert, bubbling three sorting methods. Select, insert, bubbling three sorting methods. Select, insert, bubbling three sorting methods.<dcm> 在 2025-06-15 上传 | 大小:4kb | 下载:0
[数据结构常用算法] algorithms
说明:附件是邓建明老师上的算法课的详细课件,设计算法设计与分析的各个方面,如分治法,贪心算法,平摊分析等,希望对大家有帮助-Attachment algorithm Jian-ming teacher lesson courseware, and all aspects of the design algorithm design and analysis, such as divide and conquer method, greedy algorithms, amortized analysis<赵毅> 在 2025-06-15 上传 | 大小:3.13mb | 下载:0
[数据结构常用算法] depth-first
说明:可以实现树的深度优先遍历,编译通过,可以即时使用。-It Can achieve a depth-first traversal of the tree, compile, and can immediately use<wushanshan> 在 2025-06-15 上传 | 大小:12kb | 下载:0
[数据结构常用算法] Queue-and-stack
说明:这里写了创建队列,栈,链表的操作及源代码,初学者可以学习下哦-Written create a queue, stack, linked list operations and source code, beginners can learn!<林浩> 在 2025-06-15 上传 | 大小:5kb | 下载:0