Pregunta de entrevista de Meta

Questions involved data structures and algorithms.