HCLTech interview question

nothing difficuly