Kellton interview question

third largest element in an array