HCLTech Interview Question

Technical question