Pergunta de entrevista da empresa Adobe

Given a problem which design pattern should be used