EPAM Systems interview question

Coding test has one question based on String and loops