Introduction - If you have any usage issues, please Google them yourself
Binary tree traversal. Enter the two sets of data, respectively, the first binary sequence and preorder. If we can form a binary tree, the rear output preorder, otherwise the output-1.