數據結構C語言版(做業)之 二叉樹的建立,遍歷(遞歸、非遞歸)

1)二叉樹的建立,遞歸遍歷,深度,結點數,葉子數 #include<iostream> using namespace std; typedef struct bitnode{ char data; struct bitnode *lchild,*rchild; }bitnode,*bitree; void createbitree(bitree &T){//建立二叉樹 前序輸入
相關文章
相關標籤/搜索