HCLTech interview question

OOPS and Data structure concepts