Pergunta de entrevista da empresa Indeed

Assessment question over arrays.