Pergunta de entrevista da empresa Etsy

Return the max int in an array.

Resposta da entrevista

Sigiloso

22 de ago. de 2018

Consider test cases first - invalid values return null and negative values are valid. A single loop through the array is sufficient.