Pergunta de entrevista da empresa EPAM Systems

To solve the problem which was a logical problem