When we call heapify then at each level the comparison performed takes time?

(A) It will take O(1)
(B) Time will vary according to the nature of input data
(C) It can not be predicted
(D) It will take O(log n)

»Important Links:

Latest Jobs in Pakistan Govt Jobs in Pakistan Private Jobs
NTS Jobs Bank Jobs Teaching Jobs
Police Jobs Wapda Jobs Army Jobs
PPSC Jobs Nadra Jobs CTSP Jobs

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!