2,5,1,6,3,7]letpostorder=[4,5,2,6,7,3,1]letroot=Solution().buildTree(inorder,postorder)print(root??"二叉树为空",CreateBinaryTree().isValidBST(root:root))//额外判断一下一颗二叉树是否为二叉查找树,