Pregunta de entrevista de Bazaarvoice

How would you solve this technical problem?