Microsoft interview question

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