樹及相關考點

樹的邏輯結構 (基本概念) 樹的存儲結構 結構體數組 typedef struct tnode{ elemtype data; int pIdx; }TNode; TNode tree[20]; 雙親存儲結構 孩子存儲結構(鏈式存儲) typedef struct branch{ int cIdx;//數組下標 branch* next }branch; typedef struct{ int d
相關文章
相關標籤/搜索