Suppose a BST contains n distinct keys and is completely skewed. The…

RSSB Computer Instructor · 2026 recruitment · Senior Computer Instructor · Paper II

Suppose a BST contains n distinct keys and is completely skewed. The worst-case time complexity for searching an element is:

  1. A.

    O(n log n)

  2. B.

    O(1)

  3. C.

    O(log n)

  4. D.

    O(n)

  5. E.

    Question not attempted

Attempted by 95 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…