HCLTech Interview Question

It’s is like same way