Pregunta de entrevista de Google

graph question, and then a technical knowledge interview