Ideas2IT interview question

Logical questions