Pergunta de entrevista da empresa Bloomberg

Simple design question tracking information in an array and map.