...
Question 10112 – GATE 1996
April 26, 2024
Question 5328 – UGC NET CS 2013 Dec-paper-2
April 26, 2024
Question 10112 – GATE 1996
April 26, 2024
Question 5328 – UGC NET CS 2013 Dec-paper-2
April 26, 2024

Question 8808 – Data-Structures

The worst case running time to search for an element in a balanced binary search tree with n2n elements is

Correct Answer: C

Question 20 Explanation: 
→ Worst case running time to search for an element in a balanced binary search tree of ‘n’ elements is (log n).
→ No of elements = n.2n then search time = (log n.2n)
= (log n + log 2n)
= (log n + n log 2)
= O(n)
A
Θ (n log n)
B
Θ (n2n)
C
Θ (n)
D
Θ (log n)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!