Max Product of Word Lengths

Find the maximum product of the lengths of two words from a given array that share no common letters. If no such pair exists, return 0. Each word consists of lowercase English letters only.

Examples
Input: ["abcw","baz","foo","bar","xtfn","abcdef"]
Output: 16
Hints

Max Product of Word Lengths

Find the maximum product of the lengths of two words from a given array that share no common letters. If no such pair exists, return 0. Each word consists of lowercase English letters only.