Pergunta de entrevista da empresa Metis Themis Ingishts

How to rank the nth largest element in an array.