GATE CS 2012 · Question 5 · Programming and Data Structures · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
The worst case running time to search for an element in a balanced binary search tree with n2ⁿ elements is
- (A) Θ(n log n)
- (B) Θ(n2ⁿ)
- (C) Θ(n)
- (D) Θ(log n)
Answer
Answer (C)
Answer from the official GATE CS 2012 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes