Create tree postorder and inorder

my code is correct but showing wrong answer