#3138

Minimum Length of Anagram Concatenation

expert · 1045 · lc medium +32 · 39.8% accepted · 202 likes · top 19%

Description

You are given a string s that is guaranteed to be a concatenation of anagrams of some unknown string t. Return the minimum possible length of t.

Code

1
2
3