I was trying to store my pre order traversal in a vector. First i tried this.
vector s; vector preorder(Node* root) { if(root==NULL) re