Zenefits Interview - Can represent the pre-order list of a BST
Givenalistofnumbers,determinewhetheritcanrepresentthepre-ordertraversallistofabinarysearchtree(BST). InputThefirstlinecontainsthenumberoftestcases, T. T linesfollow,consistingoftwolineseach.Thefirstli