Informatica interview question

Q3. top n maximum in an array