HCLTech interview question

basic