Tap here to switch tabs
Problem
Submissions

Problem: Longest Concatenated String With Unique Characters

Try to solve the Longest Concatenated String With Unique Characters problem.

Statement

You are given an array of strings arr. A string s is formed by the concatenation of a subsequence of arr that has unique characters.

Return the maximum possible length of s.

Constraints:

  • 1≤1 \leq arr.length ≤16\leq 16

  • 1≤1 \leq arr[i].length ≤26\leq 26

  • arr[i] contains only lowercase English letters.

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Longest Concatenated String With Unique Characters

Try to solve the Longest Concatenated String With Unique Characters problem.

Statement

You are given an array of strings arr. A string s is formed by the concatenation of a subsequence of arr that has unique characters.

Return the maximum possible length of s.

Constraints:

  • 1≤1 \leq arr.length ≤16\leq 16

  • 1≤1 \leq arr[i].length ≤26\leq 26

  • arr[i] contains only lowercase English letters.