Philips interview question

explain design patterns