Tripadvisor interview question

Write a binary search tree