资源列表
DoubleLList
- 双向链表的操作的实现,包括创建,输出,插入和删除-A two-way linked list implementation of the operation, including creating, output, insert and delete
rotate
- 输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。-Enter a natural number N (2 ≤ N ≤ 9), the required output of a screw matrix, i.e. a side length of N* N, elements in the range 1 to N* N, 1 in the upper left, showing the elements ar
Hanoi
- 汉诺塔的代码实现,VC++开发平台,C语言描述。-The Tower of Hanoi' s code, VC++ development platform, the C language descr iption.
SearchBST
- 二叉树排序查找,在根指针T所指的二叉排序树中查找数据e,查找成功时,返回1值,并用指针p返回结点地址,不成功时,用P指向查找路径中的最后一个结点并返回0值,指针f指向T的双亲结点,初始调用时其值为NU-T refers to the pointer in the root binary sort tree to find data e, find success, returns 1 value, and return with a pointer p node address, unsucce
tree-and-bi-tree
- 利用栈对二叉树进行先根次序遍历的非递归算法-Non-recursive algorithm stack first root order traversal of a binary tree
frog
- 青蛙换位问题,左边的青蛙和右边的青蛙要面对面跳跃,墩子数比青蛙数多1,左边右边交换位置了代表成功-Frog problem of transposition, the frog on the left and right sides of the frog to jump face to face baidunzi than frog a few more than a left right swap positions on behalf of successful
20050708131632_luzhijianr
- 一个单列表的循环例子,可供用户学习&参考,决定可以执行-a single list of examples of the cycle for users learning & reference, the decision can be implemented
Liklist
- 一个简单的单链表源代码C程序,方便新手学习!-A simple single linked list source code C procedures for novices to learn!
xiaojianzhushi
- 说明 沉默是一位小的建筑师,他喜欢他的积木,使各种建筑物。现在他又有了新的问题。他要建立建设一个大小为2*2* N的积木,但他只有一种块大小为1* 1 * 2。现在,他想知道他有多少种方法可以兴建的他的积木。 输入 有几行输入。每行输入数据集。有两个整数N和P(1<= N <=10亿,1<P <= 1,000,000),在每个测试案例。输入EOF结束。 输出 对于每个测试用例,输出一个行包含一个整数,这是他可以修建的积木数量di
stringcmp
- 设A和B是长度相同的2个字符串。A和B的距离定义为相应位置字符距离之和。2个非空格字符的距离是它们的ASCII码之差的绝对值。空格与空格的距离为0;空格与其它字符的距离为一定值k。 字符串A的扩展是在A中插入若干空格字符所产生的字符串。在字符串A和B的所有长度相同的扩展中,有一对距离最小的扩展,该距离称为字符串A和B的扩展距离。 对于给定的字符串A和B,试设计一个算法,计算其扩展距离。 -Let A and B is the same length of two strings. A
order
- 数据结构,利用循环链表实现斐波那契数列的输出。-data structure
链表结点的删除
- 利用C语言的数据结构的算法实现链表结点的删除
