Philips interview question

Design Patterns