Infosys Interview Question

Asked some logical puzzles