What is the time complexity of searching for an element in a binary search…
PYQ CoCubes 2025
What is the time complexity of searching for an element in a binary search tree, assuming that the tree is balanced?
- A.
O(1)
- B.
O(log n)
- C.
O(n)
- D.
O(n log n)
Attempted by 588 students.
Sign up free to check your answer
Sign up freeLoading lesson…

