For a balanced binary search tree with n elements, the time required to search…

Coal India Management Trainee CBT · 2019 · 2020 Systems · Paper II · Domain KnowledgeModified — slightly modified from the official paper; see the solution

For a balanced binary search tree with n elements, the time required to search a given element is:

  1. A.

    O(log n)

  2. B.

    O(n log n)

  3. C.

    O(n² log n)

  4. D.

    O(n²)

Attempted by 1587 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…