數據結構 樹 層次遍歷二叉樹 C語言版

//層次遍歷二叉樹並輸出結點的算法 #include <stdio.h> #include <stdlib.h> typedef struct NNode { char data; struct NNode *LChild; struct NNode *RChild; } BiTNode,*BiTree; //定義二叉樹結點和結點指針 typedef BiTree QueueEleme
相關文章
相關標籤/搜索