RentMyStay interview question

Write a program to find 2nd highest number