Https://hack.codingblocks.com/contests/c/471/1602

https://hack.codingblocks.com/contests/c/471/1602
can someone tell how in the given question input is preorder and post order respectively

the second line of the input will represent the preorder traversal and the third line will represent the inorder traversal

1 Like