资源列表
[数据结构常用算法] Bankers-Algorithm
说明:银行家算法是一种最有代表性的避免死锁的算法。在避免死锁方法中允许进程动态地申请资源,但系统在进行资源分配之前,应先计算此次分配资源的安全性,若分配不会导致系统进入不安全状态,则分配,否则等待。为实现银行家算法,系统必须设置若干数据结构。-Banker' s algorithm is one of the most representative algorithm to avoid deadlock. Method to avoid deadlock in the process of dy<岳豪> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] linear-list
说明:构造一个空的线性表从顺序表中才查找与给定的元素值相同的元素在表中的位置-Linear form constructed from an empty table in order to find only elements with the same value for a given element position in the table<小丫> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] graph_dijkstra
说明:dijkstra算法,求解网络图中的最短路径问题。-dijkstra algorithm, solving the network map in the shortest path problem.<赵秀平> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] hafumanshu
说明:c语言实现的哈夫曼树源代码,找到最小长度的编码-the source code of the huffman tree<天絮> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] quan
说明:设有N个人围坐一圈,现从某个人开始报数,数到M的人出列,接着从出列的下一个人开始重新报数,数到M的人又出列,如此下去,直到所有的人都出列为止。试设计确定他们的出列次序序列的程序。-Sitting around a circle with N individuals are reported from a number of individuals began, the number of people out of the column to the M, then the next perso<lxc> 在 2025-06-15 上传 | 大小:1kb | 下载:0
[数据结构常用算法] rabit
说明:围绕着山顶有10个圆形排列的洞,狐狸要吃兔子,兔子说:“可以,但必须找到我,我就藏身于这十个洞中,你先到1号洞找,第二次隔1个洞(即3号洞)找,第三次隔2个洞(即6号洞)找,以后如此类推,次数不限。”但狐狸从早到晚进进出出了1000次,仍没有找到兔子。问兔子究竟藏在哪个洞里 ? -Peak around the circular array of 10 holes, the fox eat the rabbit, the rabbit said: " Yes, but you fin<lxc> 在 2025-06-15 上传 | 大小:1kb | 下载:0