318. Maximum Product of Word Lengths
Medium
Input: words = ["abcw","baz","foo","bar","xtfn","abcdef"]
Output: 16
Explanation: The two words can be "abcw", "xtfn".Input: words = ["a","ab","abc","d","cd","bcd","abcd"]
Output: 4
Explanation: The two words can be "ab", "cd".Input: words = ["a","aa","aaa","aaaa"]
Output: 0
Explanation: No such pair of words.Previous1342. Number of Steps to Reduce a Number to ZeroNext1461. Check If a String Contains All Binary Codes of Size K
Last updated