HCLTech interview question

Normal Question on DSA, OOPS etc