![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 79
Chasel_hunt
这个作者很懒,什么都没留下…
展开
-
查找集合
// search.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "LinkTable.h" #define MAX_KEY 5原创 2011-07-21 09:36:36 · 671 阅读 · 0 评论 -
时间复杂度为o(N)查找1至N-1构成的a[N]重复元素
时间复杂度为o(N)查找1至N-1构成的a[N]重复元素 Sailor_forever sailing_9806@163.com 转载请注明http://blog.csdn.net/sailor_8318/archive/2008/10/12/3059935.aspx ××××原创 2011-07-21 16:29:54 · 773 阅读 · 0 评论 -
关于二叉树的宽度,高度,相等
关于二叉树的宽度,高度,相等2008-07-12 15:01:53| 分类: 面试题|字号 订阅经常会遇到关于二叉树的算法问题,虽然比较简单,不过我觉得还是有必要总结一下.顺便写了个sample程序,以供参考.本文中主要讨论关于二叉树的以下3个问题,都是用递归来实现,Divid转载 2011-07-22 09:31:06 · 5015 阅读 · 1 评论 -
树的存储结构--双亲表示法
树的存储结构--双亲表示法#include#include#define maxsize 20#includeusing namespace std;typedef struct { char data; int parent;//双亲位置}pnode;typedef st原创 2011-07-19 09:38:42 · 5934 阅读 · 0 评论