Make Distinct Characters Equal
Given two strings, determine if exactly one swap between a character in word1 and a character in word2 can make the number of distinct characters in both strings equal.
Given two strings, determine if exactly one swap between a character in word1 and a character in word2 can make the number of distinct characters in both strings equal.