Infosys Interview Question

Mostly from Agarwal aptitude book.. question patterns not the same question though