Infosys interview question

technical interview