Pregunta de entrevista de Google

two rounds of data structure and algorithms