AppNexus Interview Question

Brain teaser logic questions.