Solve string and hashmap interview tasks | Goldman Sachs