资源列表
[数据结构常用算法] 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-10 上传 | 大小:1kb | 下载: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-10 上传 | 大小:1kb | 下载:0
[数据结构常用算法] GetIntersectPoint
说明:关于判断两条直线的源码 主要是解出两条直线的相交的点-To determine the source on the two lines is mainly solved the intersection point of two straight lines<生> 在 2025-06-10 上传 | 大小:1kb | 下载:0