EPAM Systems interview question

Problem solving questions on strings, array