Pregunta de entrevista de Bloomberg

Simple design question tracking information in an array and map.