Playo interview question

Tricky logical questions.