Infosys interview question

All questions were easy