If our data structure contains $n$ distinct elements then :
In all the standard data structures that we know/study about, If we want to pick/find an element that is not maximum (smaller than maximum) then time complexity will be $\Theta(1)$ because we only need to compare any two elements. Take any two elements that you can access in constant time, compare them, and return the smaller of those two elements.
PS: By “standard data structures that we know/study about” I mean the following :
Binary tree, Binary search tree, AVL tree, sorted or unsorted array, linked lists, arrays, stacks, queues, hash tables, heaps, etc.
NOTE: We don’t need to find the “Second Largest Number”. We need ANY number which is not the largest. So, take ANY two elements & the smaller in them is your answer. So, $O(1)$ time is required.