资源列表
yuesefuhuan
- 用链表写的约瑟夫环,初值为20,第20个人出队后以他的密码为下个要出队的人(Joseph ring written with a chain list)
MapRputing
- 西安电子科技大学算法上机第三题,基于最小优先队列的迪杰斯特拉算法的改进(Improvement of Dijkstra algorithm based on minimum priority queue)
堆排序
- 堆排序示例,用数组实现的小顶堆,面试笔试常考题(a code example of heap sort, merge sort and quick sort, it's useful when you have a test)
赫夫曼树
- 数据结构赫夫曼树!!!!!希望大家有所采纳!!!!!!!!!!!!(fewgtwergjwerjgkjwekjghkweujktrhjg)
数据结构题集
- 在C上的数据结构的相关题目,有助于提升编程水平(The related topics of the data structure help to improve the programming level)
数据结构
- C语言基础上的数据结构学习材料,适于编程新手(Data structure learning materials based on C language)
datastructure
- 部分数据结构的实现,以及应用(包括二叉树、父指针表示树、链表、栈、队列、以及一个汉诺塔问题算法)(The implementation of some data structures and its application)
计算矩阵连乘积
- 输入一个小于10的正整数n,按把每个元素都交换到最前面一次的方法,输出前n个小写字母的所有排列。(Enter a positive integer n less than 10 and press every element to the top of the list to output all the first n lowercase letters.)
田忌赛马问题
- 田忌与齐王赛马,双方各有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
花生米问题
- 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
石子合并
- 在一个圆形操场的四周摆放着n堆石子(n<= 100),现要将石子有次序地合并成一堆。(A round playground is surrounded by n heap stones (n<= 100), and the stones are now sequently merged into a pile.)
穷举n位二进制数
- 输入一个小于20的正整数n,要求按从小到大的顺序输出所有的n位二进制数,每个数占一行。(Enter a positive integer that is less than 20, and you want to output all of the n-bit binary Numbers in the order of small to large, each of which is a row.)
