Building tree from pre and inorder

https://ide.codingblocks.com/s/237663 pleade tell my mistake ,it is showing error.