[LC] Add solution to anagrams.