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

#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
相关文章
相关标签/搜索