已知二叉樹的先序、中序遍歷序列,求其後序遍歷結果。(hduoj1710)

#include <iostream> #include<cstring> using namespace std; struct Node { int data; Node* lChild; Node* rChild; }; int find(int iVal, int* inOrder,int s, int e) { for(int i=s; i<=e; i++) if(iVa
相關文章
相關標籤/搜索