Pregunta de entrevista de Google

Data structures and algorithms mainly