Infosys interview question

Basically on previous experience