update the solution for construct bt from pre & in traversal.