Capital One Interview Question

String manipulation/ hashmap manipulation and parsing