Pergunta de entrevista da empresa EPAM Systems

Intermediate written test for a generic problem.