Google phone interview round
Anonymous User
924

Replace words encoded in % with their corresponding value in the map.
Input
String = "hello %username%,this is %product name%,Regards %service%."
maps<string,string>={username=xyz,product name=google,service=mail}
output
String value
hello xyz,this is google,Regards mail.

Comments (7)