HCLTech interview question

Related to the current project.