Infosys interview question

What can you improve here?