Pergunta de entrevista da empresa Apple

Given an array of numbers, retrieve the 2 largest numbers going through the array only once