Minimum Length of Anagram Concatenation
Try lengths that divide the string from shortest to longest and keep the first one whose blocks are all anagrams of each other.
Try lengths that divide the string from shortest to longest and keep the first one whose blocks are all anagrams of each other.