@@ -0,0 +1,805 @@
+public class Solution %7B%0A    public List%3CString%3E anagrams(String%5B%5D strs) %7B%0A        Map %3CString, List%3CString%3E%3E anagramMap = new HashMap %3C%3E ();%0A        %0A        for(String s: strs) %7B%0A            char%5B%5D ar = s.toCharArray();%0A            Arrays.sort(ar);%0A            String sorted = String.valueOf(ar);%0A            List %3CString%3E anagramGroup = anagramMap.get(sorted);%0A            if (anagramGroup == null) %7B%0A                anagramGroup = new ArrayList %3CString%3E ();%0A                anagramMap.put(sorted, anagramGroup);%0A            %7D%0A            anagramGroup.add(s);%0A        %7D%0A        %0A        List %3CString%3E ret = new ArrayList%3C%3E ();%0A        for(List %3CString%3E l: anagramMap.values()) %7B%0A            if (l.size() %3E 1) %7B%0A                ret.addAll(l);%0A            %7D%0A        %7D%0A        %0A        return ret;%0A    %7D%0A%7D%0A

Create Anagram.java