Infosys interview question

based on the profile submitted