-
tree
二叉树的先序遍历。采用递归实现。释放资源时用了后序遍历。(Preorder traversal of a binary tree. Recursive implementation. Release resources used after preorder.)
- 2013-07-09 13:39:31下载
- 积分:1
-
LINK
建立链表的算法:
新节点链入表尾建立链表:
动态分配第一个节点变量;
用指针head 妥善保存链表第一个节点的地址值;
依次动态分配一个新节点变量;
将上一个节点的指针域指向新生成的节点;
循环3),4)步骤,直到所有节点均连入链表;
将最后一个节点的指针域赋值为0;
(Establish the list of algorithms:
The new node links footer build list:
Dynamic allocation of the first node variable
Keep the list head pointer of the first node address value
In order to dynamically allocate a new node variable
The domain of a node pointer to the new generation of nodes
Cycle 3), 4) step, until all nodes are connected to the chain
Pointer field will last node assigned to 0 )
- 2015-01-05 16:03:48下载
- 积分:1
-
seqlist
说明: 数据结构线性表简单创建,插入,删除,等运算,方便操作。(Data structure linear table is easy to create, insert, delete, and other operations, easy to operate.)
- 2020-06-24 12:40:02下载
- 积分:1
-
PolyArith
数据结构乘客设计案例精编中的多项式求和、相乘(Data structures passengers for fine design cases polynomial sum, multiplied)
- 2012-12-14 16:42:06下载
- 积分:1
-
dynamic-programming
用动态规划法求两个字符串 A="xzyzzyx"和 B =”zxyyzxz“的最长公共子序列(For two strings A dynamic programming method = " xzyzzyx" and B = " zxyyzxz" the longest common subsequence)
- 2014-02-24 14:35:23下载
- 积分:1
-
luciferLanguage
这是acm里关于魔王语言的一道题,通过栈和队列的知识来解决。(this is balout luciferlanguage . i use the datastructure with stack and queue.)
- 2011-11-28 17:04:19下载
- 积分:1
-
data-structures-and-algorithms
数据结构与算法强化训练,近百页,课程学习的基本资料(Basic information of the data structures and algorithms, nearly a hundred pages of the intensive training course)
- 2012-10-31 20:42:16下载
- 积分:1
-
lesson1-2
棋盘覆盖,算法分析,很有用的东西,大家一起来分享一下(Board covers, algorithm analysis, useful things, we share together)
- 2011-01-06 15:15:11下载
- 积分:1
-
heapSort.cpp.tar
这是一个堆排序的算法源程序,算法被单独写成一个函数,希望对大家有用(This is a heap sort algorithm source code, algorithms are written as a separate function, we hope to be useful)
- 2013-12-12 14:52:48下载
- 积分:1
-
Classic_C_language_program
经典C语言程序:图形 数据结构 时间函数 文件等(Classic C language program: a function of time graph data structure documents, etc.)
- 2010-01-01 12:27:36下载
- 积分:1