Infosys interview question

They asked me also some design patterns questions