Design O(nm) grouping of rearranged strings | Salesforce