Pregunta de entrevista de Eastern Enterprise

It was a logic based puzzle question