
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 · 537 阅读 · 0 评论 -
排序之插入排序
插入排序使用的增量方法,主要思想是遍历数组中的所有元素,将原创 2014-04-23 00:18:19 · 444 阅读 · 0 评论 -
算法导论学习
一. 算法设计的方法: 1) 增量()方法原创 2014-04-23 00:19:40 · 446 阅读 · 0 评论 -
数组加法问题
有两个各存放在数组A和B中的n位二进制整数,考虑ta原创 2014-04-23 01:05:15 · 705 阅读 · 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 · 421 阅读 · 0 评论 -
二叉查找树转换为双向链表
在不申请新的节点,只改变指针指向的情况下,将二叉查找树zhuan huan原创 2014-04-24 23:45:52 · 332 阅读 · 0 评论