Pergunta de entrevista da empresa Blink Health

Simple problem that utilizes map in its solution.