HCLTech interview question

It was simple interview.