HCLTech interview question

Related to Basis