![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Data Structure & Algorithm
MoreLinux2014
这个作者很懒,什么都没留下…
展开
-
[转]Geeks 面试题:Fibonacci numbers 优化为lgn效率
The Fibonacci numbers are the numbers in the following integer sequence.0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 141, ……..In mathematical terms, the sequence Fn of Fibonacci numbers is defined转载 2014-03-22 11:49:01 · 507 阅读 · 0 评论 -
排序之插入排序
插入排序使用的增量方法,主要思想是遍历数组中的所有元素,将原创 2014-04-23 00:18:19 · 388 阅读 · 0 评论 -
算法导论学习
一. 算法设计的方法:1) 增量()方法原创 2014-04-23 00:19:40 · 415 阅读 · 0 评论 -
数组加法问题
有两个各存放在数组A和B中的n位二进制整数,考虑ta原创 2014-04-23 01:05:15 · 672 阅读 · 0 评论 -
二叉查找树
头文件定义:#ifndef BTREE_H#define BTREE_H#define BTRUE (1)#define BFALSE (0)/* orderType */#define PRE_ORDER (1)#define IN_ORDER (2)#define POST_ORDER (3)typedef struct BTree{ int value; s原创 2014-04-24 23:41:44 · 391 阅读 · 0 评论 -
二叉查找树转换为双向链表
在不申请新的节点,只改变指针指向的情况下,将二叉查找树zhuan huan原创 2014-04-24 23:45:52 · 297 阅读 · 0 评论