资源列表
[数据结构常用算法] datastructure
说明:部分数据结构的实现,以及应用(包括二叉树、父指针表示树、链表、栈、队列、以及一个汉诺塔问题算法)(The implementation of some data structures and its application)<mikeclp > 在 2025-06-11 上传 | 大小:7kb | 下载:0
[数据结构常用算法] 田忌赛马问题
说明:田忌与齐王赛马,双方各有n匹马参赛(n<=100),每场比赛赌注为1两黄金,现已知齐王与田忌的每匹马的速度,并且齐王肯定是按马的速度从快到慢出场,现要你写一个程序帮助田忌计算他最好的结果是赢多少两黄金(输用负数表示)。(Tian and the king's horse racing, the two sides each have n horse (n < = 100), each match bet 1 two gold, are now known to the king of<黑色幽默min > 在 2025-06-11 上传 | 大小:10kb | 下载:0
[数据结构常用算法] 花生米问题
说明:1、Tom和Jerry轮流从堆中取出k粒花生米吃掉,k可以是1,5,10中的任意一个数字; 2、为显示规则的公平性,Jerry可以选择先取或者后取。 Jerry当然还是希望最后一粒花生米被Tom吃掉。请计算,Jerry为了达到目的应该先取还是后取(1. Tom and Jerry took out the k peanuts and ate them from the heap. K could be any number in 1, 5, and 10. 2. To show the<黑色幽默min > 在 2025-06-11 上传 | 大小:10kb | 下载:0
[数据结构常用算法] Assignment
说明:用数组按照链表的顺序排序并打印单词,实现增加,删除的功能(The function of sorting and printing the words in the order of the list in order to add and delete.)<92878 > 在 2025-06-11 上传 | 大小:16kb | 下载:0
[数据结构常用算法] C++STL(2th)
说明:STL标准模板库介绍,各种数据结构的使用,C++语言的实现(Introduction of Standard Template Library)<billson_> 在 2025-06-11 上传 | 大小:20.36mb | 下载:0