Pregunta de entrevista de Electronic Arts

data structure and algorithms, and some SQL quesion