NIIT Limited interview question

technical qustions