

MCQOPTIONS
Saved Bookmarks
1. |
A binary search tree T contains n distinct elements. What is the time complexity of picking an element in T that is smaller than the maximum element in T? |
A. | Θ(1) |
B. | Θ(n log n) |
C. | Θ(log n) |
D. | Θ(n) |
Answer» B. Θ(n log n) | |