The expected answer for "ab" and "ca" is true. I don't understand why. 'a' is mapped to 'c', then 'c' should also be mapped to 'a', then 'b' cannot be mapped to 'a' anymore.
Can anyone explain why?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.