Infosys interview question

The puzzles asked during the interview