Pandora interview question

asked about binary search tree