Frage im Vorstellungsgespräch bei Microsoft

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