void postOrder(int x){ for(int i=0;i< children[x].size(); i++){ postOrder(children[x][i]); } queue.push_back(x); }