Pergunta de entrevista da empresa EPAM Systems

Some design patterns question