Anonymous interview question

Search time in binary search tree