Pregunta de entrevista de Home24

A couple of logical puzzles don't remember.