Search
⌘K

Leetcode 1239. Maximum Length of a Concatenated String with Unique Characters

Given an array of lowercase strings, choose a subsequence (order preserved) whose concatenation contains only unique characters and return the maximum possible length of that concatenation. With arr.length ≤ 16, the problem reduces to exploring subsequences while skipping strings that introduce duplicate characters.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.