Blink Health interview question

Simple problem that utilizes map in its solution.