Persistent Systems Interview Question

Q: Find 2nd min and 2nd max element in a given array.