Pregunta de entrevista de Palantir Technologies

A coding question on hashmaps.