- 博客(7)
- 收藏
- 关注
原创 数据结构第六次作业第五、六章
第五章树通常有前序遍历,后序遍历和层序遍历三种。前序遍历:template<class T> void BiTree<T>::PreOrder(BiNode<T>*root) { if(root==NULL)return; ...
2018-11-27 10:40:15
168
原创 数据结构第五次作业第三章
特殊线性表——栈const int StackSize=100;templateclass SeqStack{public:SeqStack(){top=-1;};~SeqStack();void Push(T x);T Pop();T GetTop(){if(top!=-1)return data[top];}bool Empty(){if(top==-1)return ...
2018-10-25 10:18:24
283
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人