Adding an element to a heap is ______________
a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)
e) none of the above
c) O(log n)
Computer Science & Information Technology
You might also like to view...
Defining data as a table prior to sorting the data is optional
Indicate whether the statement is true or false
Computer Science & Information Technology
The ________ method of depreciation calculates depreciation at the highest accelerated rate
A) accumulated B) double declining-balance C) declining-balance D) straight-line
Computer Science & Information Technology