JetClosing interview question

Parse a string into a HashMap.