HCLTech Interview Question

Joining they have asked