HCLTech Interview Question

related to the Technical