Pergunta de entrevista da empresa Concordia University

Question about design patterns