摘要:
1 #include <iostream> 2 3 using namespace std; 4 5 struct Node 6 { 7 Node(int v):value(v),left(NULL), right(NULL){} 8 struct Node * left; 9 struct Node * right;10 int value;11 };12 int length;13 Node * BuildTree(int * preorder, int * inorder, int * pos, int start, int end)14 {15... 阅读全文