Infosys interview question

About my knowledge on coding and confidence