#3138
Minimum Length of Anagram Concatenation
medium · 39.8% accepted · 202 likes · top 19%
hash table · string · counting
Description
You are given a string s, which is known to be a concatenation of anagrams of some string t.
Return the minimum possible length of the string t.
An anagram is formed by rearranging the letters of a string. For example, "aab", "aba", and, "baa" are anagrams of "aab".
Solution