Infosys interview question

About myself, Coding questions