Hitachi Vantara interview question

Logical puzzles