Amicus Technology interview question

Logical Questions