Question:Which of the following is the worst-case scenario for operations on heaps? 

A Neither insertion nor removal is better than linear 

B Insertion is better than linear, but removal is not 

C Removal is better than linear, but insertion is not 

D Both insertion and removal are better than linear 

+ Answer
+ Report
Total Preview: 1074

Copyright © 2024. Powered by Intellect Software Ltd