Spil Games Interview Question

a logical puzzle.