Pergunta de entrevista da empresa pegipegi

First question, get the min and max values from a list / array of Integer.