Pregunta de entrevista de Adobe

Given a problem which design pattern should be used