数据结构及算法
chengba
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
线性表的公式化描述
//基于公式的类LinearList template class LinearList{ public: LinearList(int MaxListSize = 10);//构造函数 ~LinearList() {delete [] element;}//析构函数 bool IsEmpty() const { return length ==原创 2012-04-17 21:41:31 · 825 阅读 · 0 评论 -
线性表的链表描述
template class ChainNode{ friend Chain; private: T data; ChainNode * link; }; template class Chain { public: Chain() { first = 0; } ~Chain(); bool IsEmpty(原创 2012-04-22 18:04:48 · 540 阅读 · 0 评论
分享