Question N Elements Deleted Min Heap N Elements Total Running Time O N Worst Case O N Ave Q37259774

Question: N elements are deleted from amin-heap with N elements. The total running time is:

A.) O(N) worst case and O(N) average case

B.) O(N) worst case and O(logN) average case

C.) O(N) worst case and O(NlogN) average case

D.) O(NlogN) worst case


Answer


D.) O(NlogN) worst case

small color{blue}Answer:;;d

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.