Count Pairs of Similar Strings
Two strings are similar if they contain the same set of characters. Convert each word to a character-set bitmask and count pairs of words sharing identical masks.
Two strings are similar if they contain the same set of characters. Convert each word to a character-set bitmask and count pairs of words sharing identical masks.