资源列表
C-P-P--Joseph-ring
- C++动态链表实现约瑟夫圈(可自由输入任意人数,从任意人开始)-C++ dynamically linked list Joseph ring (free input any number of any person from the beginning)
huiwen
- 用栈和队列判断你输入的一句话是不是回文,c语言写的。-Determine palindrome using stack and queue
6_60
- 问题的提出:编程模拟抛硬币所得正面的频率图。假设每次抛10次为一事件, 记录每次得到正面的次数,共抛掷100000次,计算得到正面次数的概率发布,并绘图输出结果。 思路:数值概率算法常用于数值问题的求解,此类算法所得的往往是近似解,且近似解的精度 随计算时间的增加而不断提高,得到一定精度近似解就可以满足问题要求。-problem : Simulation Programming throwing coins from a positive frequency map. Assumin
DISTINCT1
- 层序遍历法判断二叉树是否完全二叉树,可以在TURBOC中运行实现
2_2
- 魔王语言的源程序,数据结构课程设计的,有需要的拿去-Beelzebub language of the source
jinzhi
- 此代码主要是利用栈的数据结构进行十进制与二进制之间的转换。-This code is mainly carried out using the stack data structure conversion between decimal and binary.
hanoi
- 汉诺塔问题的算法描述和实现.hanio塔问题是个经典的问题,希望程序能够给大家一点儿启发-the problem of hanio and its implement
erchalianbiao
- 二叉链表:二叉树的链表表示方法,用指针指向每个结点,包括左右结点-Binary linked :Binary tree linked list pointer to each node, including the left and right junction point
Maze
- 基于链栈结构,根据回溯法思想,制作了的一个显示5*5的迷宫的路径的算法-Based on the chain stack structure, based on Backtracking thought, made a display of 5*5 of the path of the maze algorithm
Heap-sort
- 堆排序 堆排序利用了大根堆(或小根堆)堆顶记录的关键字最大(或最小)这一特征,使得在当前无序区中选取最大(或最小)关键字的记录变得简单。 (1)用大根堆排序的基本思想 ① 先将初始文件R[1..n]建成一个大根堆,此堆为初始的无序区 ② 再将关键字最大的记录R[1](即堆顶)和无序区的最后一个记录R[n]交换,由此得到新的无序区R[1..n-1]和有序区R[n],且满足R[1..n-1].keys≤R[n].key ③由于交换后新的根R[1]可能违反堆性质,故应将当前无序区
balancedTree
- 平衡二叉树的搭建与维护,构造与基本计算等方面的功能-Build and maintain a balanced binary tree, structure and other aspects of basic computing functions
DijkstraPath
- Dijkstra算法是由E.W.Dijkstra于1959年提出,又叫迪杰斯特拉算法,它应用了贪心算法模式,是目前公认的最好的求解最短路径的方法。-Dijkstra algorithm greedy algorithm mode, is widely recognized as the best method for solving the shortest path.