资源列表
[数据结构常用算法] Binary_tree
说明:二叉树的C++实现,成员可以自己调整,实现了各种修剪此树的方法:初始化,增加节点,删去节点,复制树,读取节点,遍历树-Binary tree in C++, members can make their own adjustments to achieve a variety of pruning this tree methods: initialize, add nodes, delete nodes, copy the tree, read the node, traverse the t<王健泽> 在 2025-06-17 上传 | 大小:1016kb | 下载:0
[数据结构常用算法] Compartment_rearrangement
说明:车厢重排,十节车厢,练习堆栈处理,不一定是最优的算法,有本可以解决却无法解决的例子-Compartment remake, ten cars, practice stack processing, not necessarily the optimal algorithm, but this can solve the case can not be solved<王健泽> 在 2025-06-17 上传 | 大小:1017kb | 下载:0
[数据结构常用算法] sort
说明:实现几种典型排序方法:a) Insertion Sort;b) Selection Sort;c) Bubble Sort;d) Rank Sort 分析算法的时间复杂度并测量其实际运行时间。-Order to achieve several typical methods: a) Insertion Sort b) Selection Sort c) Bubble Sort d) Rank Sort algorithm' s time complexity analysis and<Yuan> 在 2025-06-17 上传 | 大小:4kb | 下载:0
[数据结构常用算法] polynomial
说明:多项式处理。本程序可以对多项式进行一些处理,可以实现加减乘除求余,计算多项式的值等功能-Polynomial processing. The program can handle some of the polynomial can be achieved modulo addition, subtraction, calculate the value of polynomial functions<Yuan> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] BankCallingSystem
说明:模拟银行叫号系统。使用基本队列操作。假设某银行有5 个服务窗口,一个统一的叫号系统。在服务时段内,每个时间单位有随机数目的顾客到来,每个新来的顾客得到一个顺序号,排入等待服务队列,等待叫号。 每个服务窗口的职员处理完一个顾客的业务后,顾客即刻离开,职员呼叫下一个顾客,窗口显示下一个顾客的服务号。被叫号的顾客随即得到服务。假定每个顾客需要的服务时间也是随机的。试设计程序模拟上述场景。-Simulated bank calling system. Use basic queue operations<Yuan> 在 2025-06-17 上传 | 大小:81kb | 下载:0
[数据结构常用算法] huffman
说明:huffman 压缩 解压。基于Huffman 编码的无损压缩(lossless data compression)和解压缩算法。 假设压缩和解压缩程序分别为huffmanEnc, huffmanDec。-huffman compression decompression. Lossless compression based on Huffman coding (lossless data compression) and decompression algorithms. Assuming<Yuan> 在 2025-06-17 上传 | 大小:157kb | 下载:0