Infosys interview question

various puzzles which are not specific