BNY interview question

how do you store and retrieve values from a map.