Meta interview question

Given a map between digits and a string, take a number and convert it to its string value