资源列表
queue
- 队列的相关操作函数,包括出队,入队,判队空,判队满,初始化队列,清空队列等函数-Related queue manipulation functions, including the team into the team, the team empty sentenced sentenced team full, initialize the queue, the queue empties other functions
Single-linked-list
- 已知一个带有表头结点的单链表,结点结构为 ,假设该链表只给出了头指针list。在不改变链表的前提下,请设计一个尽可能高效的算法,查找链表中倒数第k个位置上的结点(k为正整数)。若查找成功,算法输出该结点的data域的值,并返回1;否则,只返回0。 -Given a single linked list with a header node, node structure, assuming that the list gives only the head pointer list. On
iris
- 适合用来做K_Means 和K_NN的数据,一共150组,分成3个簇。
WATERJUG
- this water jug problem in c-this is water jug problem in c++
4
- 无向图功能实现,用邻接多重表存储该无向图,并使用动态存储结构。用一个单链表把所有顶点存储起来,在存储边的节点中给出该边的两个顶点的各自的下一条边的节点地址。-Undirected graph implementation of function, with the adjacent multi-table to store the graph, and using dynamic storage structures. With a single list of all vertices sto
无向图的邻接表生成和显示
- 这个源程序是关于无向图的邻接表生成和显示的,可以用这个程序实现-the source of the undirected graph generation and adjacent table shows, this procedure can be used to achieve
maze
- 迷宫求解问题。程序中已经建好了一个数组作为迷宫数组。然后进行试探,输出迷宫从起点到终点的路径。-Maze solving the problem. The program has been built as a maze of an array of arrays. And then test the output from the beginning to the end of the maze path.
change
- 把中缀表达式转化为后缀表达式…… 第一行为T,表示有T组数据; 以下T行每行包含一个字符串,是中缀表达式。 对于每组测试数据数据后缀表达式。-Infix expression to postfix expression into the first act ... ... T, says there are T sets of data the following T lines each line contains a string, is the infix expres
infixtopostfix
- infix to postfix program,.
Merge
- 二路归并程序,实现一串数据利用归并的思想进行排序-Two way merge program, to achieve a string of data using merge sort of thought
Linkinse
- 数据结构:链表程序-data structure : procedures Chain
erchashu
- 1、 本演示程序实现对二叉树的先序、中序、后序三种遍历。 2、 二叉树的元素为所有字符集合。 3、 演示程序以人机对话方式执行,即在计算机终端上显示“请输入二叉树”下,用户可由键盘输入待遍历的二叉树(a-z 或A-Z)。每次测试完毕,终端显示按三种遍历字母的顺序。