EPAM Systems Interview Question

There were 2 coding questions . One was easy and another one was medium