You are given two word1 and word2.
A move consists of selecting two indices, word1.length and word2.length, and swapping the character word1[i] with the character word2[j].
Return true if it is possible to make the number of distinct characters in word1 and word2 equal after applying exactly one move, and false otherwise.
Constraints:
word1.length, word2.length
word1 and word2 consist of only lowercase English letters.
You are given two word1 and word2.
A move consists of selecting two indices, word1.length and word2.length, and swapping the character word1[i] with the character word2[j].
Return true if it is possible to make the number of distinct characters in word1 and word2 equal after applying exactly one move, and false otherwise.
Constraints:
word1.length, word2.length
word1 and word2 consist of only lowercase English letters.