Pregunta de entrevista de Paytm

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