Construct a BST and read spiral order | Meta Interview Question