Pregunta de entrevista de Meta

Basic question on hashmaps and arrays.