由前序和中序肯定一棵二叉樹

#include <iostream> #include "queue" using namespace std; class BinaryTreeNode { public: char data; BinaryTreeNode * lc; BinaryTreeNode * rc; BinaryTreeNode(char N){data=N;lc=rc=NULL;} }; class Binary
相關文章
相關標籤/搜索