Count pairs of words with no letters in common
Given a list of strings, count the pairs that share no character. Encode each string's character set as a bitmask so a pair check is one AND, then group strings by mask to avoid comparing every pair when many strings repeat the same set.
No answer yet. Write the first one; the best answer gets endorsed.
