Infosys interview question

First written exam