Paytm interview question

written: write a program to find 3rd highest number in an array