EPAM Systems Interview Question

Two coding que and some java questions