ISDC interview question

Logic and reasoning