Pregunta de entrevista de Hexagon

some logical reasoning question