self-trace working construct binary tree from pre and post order array