Pergunta de entrevista da empresa Hubdoc

Very basic technical question: Find the 2 highest numbers in an array.