Create tree using preorder and inorder printing difficulty


@jaiskid @saurabh2
I am finding difficulty printing the tree in the style given as per question


i have modify your code. there is mistake in printing .