EY interview question

Logical Reasoning