HCLTech interview question

design patterns