Meta interview question

build a binary search tree