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

  1. (A) Θ(n log n)
  2. (B) Θ(n2ⁿ)
  3. (C) Θ(n)
  4. (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