HCLTech interview question

It’s is like same way