Explanation :
Suppose a list contains n elements, consider first
three element and find middle element which will
be neither maximum nor minimum.
Hence it is θ(1).
Explanation : Delete operation require O(1) time total O(N)
Delete so time is = O(n).
Insert require O(n) time in worst case total O
(logn) insert so time is = O(Nlogn) to Search (logn)
key time is = nlogn.
To perform decrease key we need O (n) time
(because after decrease we need to arrange
elements in sorted sequerce) so total O(N)
decrease key So total time is O(N2) All operations
put together than worst time is O(N2)