Pregunta de entrevista de Google

Data structures and algorithm questions.