Pergunta de entrevista da empresa Softaculous

Find min and max from array of 1 million