Pregunta de entrevista de Microsoft

question on data structures and algorithms.