EPAM Systems Interview Question

There were 3 programming problems to solve in Java.