AT&T interview question

Design Patterns