6-2 先序輸出葉結點(15 分)

6-2 先序輸出葉結點(15 分) 本題要求按照先序遍歷的順序輸出給定二叉樹的葉結點。 函數接口定義: void PreorderPrintLeaves( BinTree BT ); 其中BinTree結構定義以下:node typedef struct TNode *Position; typedef Position BinTree; struct TNode{ ElementType Dat
相關文章
相關標籤/搜索