Bit Manipulation - Maximum Product of Word Lengths
Consider two approaches to solve the maximum product of word lengths with no common letters:
Approach 1: Brute force nested loops checking character sets with sets.
Approach 2: Bitmasking with length sorting and early pruning.
When is Approach 1 preferable over Approach 2?
