Veeva Systems interview question

implement a function that sets values to strings given a Map interface and a helper function