资源列表
[数据结构常用算法] sortation-comparison
说明:利用随机函数产生N个随机整数(N = 500,1000,1500,2000,2500,…,30000),利用直接插入排序、折半插入排序,起泡排序、快速排序、选择排序、堆排序,基数排序七种排序方法(可添加其它排序方法)进行排序(结果为由小到大的顺序),并统计每一种排序所耗费的时间(即比较次数)。-sortation problem<lyp> 在 2025-06-18 上传 | 大小:80kb | 下载:0
[数据结构常用算法] CPPdaimasdoublelistandsinglelist
说明:这个压缩包中包含了单向链表以及双向链表置逆如何实现的相关代码,是数据结构中重要的一环节,希望有帮助-This archive contains a singly linked list and doubly linked lists set against how The relevant code is the data structure important part, want to help<li> 在 2025-06-18 上传 | 大小:17kb | 下载:0
[数据结构常用算法] xitong
说明:通过实现哲学家进餐问题的同步深入了解和掌握进程同步和互斥的原理哲学家有N个,也定全体到达后开始讨论:在讨论的间隙哲学家进餐,每人进餐时都需使用刀、叉各一把,所有哲学家刀和叉都拿到后才能进餐。哲学家的人数、餐桌上的布置自行设定,实现刀和叉的互斥使用算法的程序实现。-Philosophers have N, is also scheduled to discuss after all reach: the gap in the discussion of dining philosophers, e<赛德华> 在 2025-06-18 上传 | 大小:406kb | 下载:0
[数据结构常用算法] process_schedule
说明:演示进程调度算法 使用的链表 包涵7个功能 4个算法-Process Scheduling Algorithm Demo<gaojinyu> 在 2025-06-18 上传 | 大小:303kb | 下载:0
[数据结构常用算法] ConvexHulls
说明:凸包,使用先左右排序再计算上凸包下凸包的方法,效率还可以。-Convex hull, and then calculated using the first order around the convex hull on the package approach, efficiency gains can be.<leon> 在 2025-06-18 上传 | 大小:64kb | 下载:0
[数据结构常用算法] LineSegmentIntersect
说明:线段求交,使用二叉树保存消息树,状态树,还有已经求过交点的树,效率还行。-Line segment intersection, save the message using the binary tree, state tree, as well as the intersection of the tree has been seeking, efficiency, okay.<leon> 在 2025-06-18 上传 | 大小:78kb | 下载:0
[数据结构常用算法] index-tree
说明:排序二叉树的改进,在每个节点上加一个值来统计该节点左边的结点个数,方便插入、删除和查找-Binary sort tree improvement, at each node with a value to the statistics of the node on the left side of the node number, convenient to insert, delete and search<wutu> 在 2025-06-18 上传 | 大小:879kb | 下载:0