HCLTech interview question

Design Patterns