Vidyalelo
Data Structure · Q1

Binary Search Trees(B Tree)

Programming · Data Structure · question 1

Q1

What is the time complexity of searching for an element in a Binary Search Tree (BST) in the worst case?

A.
O(1)
B.
O(log n)
C.
O(n)
Answer
D.
O(n log n)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board