InterviewBit Problems   Valid BST from Preorder : Solved