Pergunta de entrevista da empresa sTec

Cannot really remember what the questions were. But it had to do with evenly distributing numbers to an array.