Building Tree from Pre and In order traversal

I am not getting the output. This is the link to my code
https://ide.codingblocks.com/s/54958
Please tell me what is wrong in this and why I am not getting the output?

this is the code to build a binary tree from pre and in order traversal

Hey Avanik, your code is not working as you have missed a base case in createTreeFromPre_In(). Update your createTreeFromPre_In`() and write the base case given below after creating the root node in line:45

 if (s == e) 
   return root;