Infosys interview question

Design patterns.