Pregunta de entrevista de Google

coding quiz is about to implement algorithms related hash table and tree travel.