數據結構-【3】二叉樹定義和四種遍歷-C語言代碼

typedef struct TNode *Position; typedef Position BinTree; /* 二叉樹類型 */ struct TNode{ /* 樹結點定義 */ ElementType Data; /* 結點數據 */ BinTree Left; /* 指向左子樹 */ BinTree Right; /* 指向右子樹 */ };
相關文章
相關標籤/搜索