題組內容

6. (28%) Binary search tree.

(b) Suppose there are n numbers in the binary search tree, what is the worst-case time complexity of searching a number in it? Please answer with big-O notation and give an example when such worst case happens. (8%)