Gate CS-2003 Question Paper With Solutions

Q. 4 In a heap with n elements with the smallest element at the root, the 7th smallest element can be found in time

(A) Θ(n log n)

(B) Θ(n)

(C)Θ(log n)

(D)Θ(1)

Answer: (D)

Explanation:

Gate CS-2003 Question Paper With Solutions

Learn More:   Gate EC-2008 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here