Pregunta de entrevista de Google

Basically leetcode data structures questions.