Pergunta de entrevista da empresa Microsoft

sorting array question/find the 5th largest element in an array/conditional probability