Pregunta de entrevista de Infosys

Asked some logical puzzles