EPAM Systems interview question

Functional programming