Infosys interview question

General question on back end side