Goldman Sachs Interview Question

Group Anagram and 3 Sum