Infosys interview question

Common technical questions were asked