一.已知前序.中序.后序遍历结果的其中两种,还原二叉树. ①已知前序遍历结果:1,2,4,5,3,6,7 中序遍历结果:4,2,5,1,6,3,7还原二叉树后BFS出结果. TreeNode.java public class TreeNode { private TreeNode leftChild; private TreeNode rightChild; private Object data; public TreeNode getLeftChild() { return leftChi…