EPAM Systems interview question

Coding at the whiteboard