Accenture interview question

design patterns