资源列表
[数据结构常用算法] HuffmanFinal
说明:掌握结构体、指针及二叉树的生成、遍历等操作掌握霍夫曼编码/译码的原理。-Master structures pointer and binary tree traverse the generation of operate the master Huffman coding/decode principle<周运红> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] yinhangjiasuanfa
说明:银行家算法的设计与实现,对课程中的相关课程很有-Bankers algorithm is designed and realized, the relevant course of course to have the help very much<张文奇> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] dbbz
说明:自己实现的敌兵布阵的源代码,HDOJ1066题,数据结构使用了线段树和树状数组,算法策略使用了分治策略。-Own implementation of the enemy soldiers ended their source code, HDOJ1066 question, data structures using the segment tree and the tree array, the algorithm strategy of divide and conquer strategy<张贺> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] WQL1
说明:1、 某软件公司大约有30名员工,每名员工有姓名、工号、职务等属性,每年都有员工离职和入职。 把所有员工按照顺序存储结构建立一个线性表,建立离职和入职函数,当有员工离职或入职时,修改线性表,并且打印最新的员工名单。 -, A software company about 30 employees, each employee name, job number, position and other attributes, and each year employees who left<manda> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] josephus.lianbiaofa
说明:用循环单链表实现josephus问题,开发软件为C语言,比起向量法更有效率。-Achieve josephus problems with circular single linked list, develop software for the C language, and more efficient than the vector method.<郑磊> 在 2025-06-14 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Josephus
说明:2、 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。 -Josephus: The numbers 1, 2, 3, ..., of n<manda> 在 2025-06-14 上传 | 大小:1kb | 下载:0