Maximum Length of Concatenated Unique-Character String

Asked at Meta · Coding Questions · Difficulty: Hard

Given a list of `words`, choose any subset and concatenate them. The concatenation is valid only if it uses no repeated character. Return the maximum possible length of a valid concatenation. Any word that itself repeats a character can never be part of a valid subset.

Loading the problem…