KLA interview question

Logical puzzles