Pregunta de entrevista de Infosys

Puzzles that thye give in the process