资源列表
[数据结构常用算法] tuopuguanxi
说明:拓扑关系的自动生成算法,是以C++语言为基础的代码,-tuopu<mrkaval> 在 2025-06-15 上传 | 大小:1.69mb | 下载:0
[数据结构常用算法] BinaryTreeTraversal
说明:先创建一个二叉树,然后进行中序遍历,输出节点内容,之后对二叉树叶子节点进行计数,从而实现对二叉树的基本操作!-First create a binary tree, and then in-order traversal, the contents of the output node, and then count the leaf nodes of the binary tree in order to achieve the basic operation of a binary tree<武江伟> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] saichengbiao
说明:设计一个满足以下要求的循环比赛日程表:() (1)每个选手必须与其他n-1个选手各赛一次; (2)每个选手一天只能赛一次; (3)当n是奇数时,循环赛一共进行n天, n是偶数时,循环赛进行n-1天。 -Meet the following requirements to design a cycle race schedule: () (1) Each player must be with the other n-1 once a player of the tournamen<luoyuhan> 在 2025-06-15 上传 | 大小:874kb | 下载:0
[数据结构常用算法] XuqingBinaryTree
说明:从文件读入并创建二叉树,以实现前中后序遍历。-Read from the file and create a binary tree in order to achieve the former in the post-order traversal.<原野> 在 2025-06-15 上传 | 大小:883kb | 下载:0
[数据结构常用算法] Josephusproblem
说明:Josephus 问题的算法,在一船上有n人,需要救m人,n个人围成一圈,相隔k个人就丢掉一个,直到只剩下m个人-Josephus problem algorithm, there are n people in a boat, people need to save m, n people form a circle, separated by k individuals to lose one, until only the m individual<dengxianzhi> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] GetIntersectPoint
说明:关于判断两条直线的源码 主要是解出两条直线的相交的点-To determine the source on the two lines is mainly solved the intersection point of two straight lines<生> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] thebinarytree
说明:实现二叉树的生成以及前中后的遍历,并且使用类和结构体以及链表形式实现-the process of the settings and traversal of the binary<suyu> 在 2025-06-15 上传 | 大小:821kb | 下载:0