摘要:
单链表的建立 1 #include 2 using namespace std; 3 class list 4 { 5 public: 6 int num,score; 7 char name[10]; 8 class list *next; 9 };10 typedef c... 阅读全文
posted @ 2015-03-09 20:49
Lited
阅读(383)
评论(0)
推荐(0)
摘要:
树的定义树是n(n>=0)个结点的有限集。n=0称为空树。在任意一个非空树中:(1)有且仅有一个特定的称为根的结点;(2)当n>1时,其余结点可分为m(m>0)个互不相交的有限集T1,T2,,,,,Tm,其中每一个集合本身又是一棵树,并且称为根的子树。结点分类:结点的度:结点拥有的子树数。叶结点/终... 阅读全文
posted @ 2015-03-09 16:48
Lited
阅读(1065)
评论(0)
推荐(0)
浙公网安备 33010602011771号