For an array of size N, what is the number of comparisons required?
A good way with O(1) time complexity would be to use a max-heap. Call the heapify twice and you have the answer.