Pergunta de entrevista da empresa Axiom World

Find the second largest number (solved on paper)