Pergunta de entrevista da empresa Accenture

Regarding some large code to write