Definian interview question

Background and a logic test