Pregunta de entrevista de PubMatic

Nothing was difficult but SQL and other knowledge necessary.