EPAM Systems Interview Question

Some design patterns question