Infosys interview question

More technical as expected in an interview