Infosys interview question

Tell me how will you do a coding to address a particular problem