Infosys Interview Question

Few Puzzles