Adobe interview question

Given a problem which design pattern should be used