资源列表
queue
- 队列基本功能的实现,包括尾部添加元素,队首出列,最大个数限制,插入元素,清空队列等-the basic program about quene
erchashu
- 二叉树的链式存储、先序中序遍历和层次遍历。(构造一棵树并输入数据,编写三个函数,非别是树的前序递归遍历算法、树的后序递归遍历算法、树的非递归中序遍历算法(这里的非递归以中序为例)。在主程序中调用这三个函数进行树的遍历,观察用不同的遍历方法输出的数据的顺序和验证递归与非递归输出的数据是否一样。)-Chain store binary tree, preorder traversal and hierarchy traversal.
(Dijkstra)-a-shortest-path-algorithm
- 大概流程如下: 初始对每个点e,令v[e]=0,dis[e]=inf 令起点dis[s]=0 每次找出p,使得v[p]=0,并且dis[p]最小 令v[p]=1 对每个和p相邻的q,用dis[p]+distance[p,q]去更新dis[q] 直到找不到v[p]=0-Probably process is as follows: For every dot e, initial [e] to v = 0, dis [e] = inf Make starting
lianbiao
- 链表的建立及功能,数据结构中的链表学习,方便,正确-The establishment and functions of the linked list data structure linked list to learn, easy to correct
maze_ekansrm
- maze.cpp 中实现了迷宫程序的全部功能, 可确保找到走出迷宫的最短路径.test_for_maze.txt 为自带测试数据,对所实现程序进行了简单测试,也可使用其它符合输入格式的文件进行测试。-shortest way for maze
6.1
- 对二叉树进行中序排序,计算二叉树左右叶子结点数,并用main函数进行测试。-Binary tree in the sequence, sort, calculate the leaf nodes in the binary tree around, and the main function to test.
高斯变步长积分
- 积分的方法多种多样,本方法采用变步长高斯法积分,希望可以对大家有用
sort
- 几种经典的排序,直接插入,冒泡,快速,希尔,堆-Several classical sorting, direct insertion, bubble, quick, Hill, heap
1.2
- 定义一个结构体数组,存放10个学生的学号,姓名,三门课的成绩 从键盘输入10个学生的以上内容 输出单门课成绩最高的学生的学号、姓名、以及该门课程的成绩 输出三门课程的平均分数最高的学生的学号、姓名及其平均分-Define an array of structures, storage of 10 students to learn numbers, names, classes are the results from the keyboard 10 students score a
chengji
- 输入30个以内学生成绩后,按从高到低排序-Input less than 30 pupils, the high to low Sort by
aa
- 动态规划算法计算网络的最长路线和最短路线-Dynamic programming algorithm to calculate the network s longest route and shortest route
migongqiujiea
- 一个迷宫求解程序。自己编着玩的,希望有人需要。编程序时一件乐事。-a maze solving procedures. Developed playing with the hope that someone needs. Programmed an enjoyable time.
