Pergunta de entrevista da empresa EPAM Systems

Coding round based on DS and Algo.