Pergunta de entrevista da empresa Paytm

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