You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*Immediately return false if the length of A and B differ or if A equals B and A is comprised of all unique chars such that a swap of the same character at different positions in the string cannot be performed.
Let j and k be the candidate swap indices where A[j] != B[j] and A[k] != B[k]. Return true if and only if A equals B after swapping the characters A[j] and A[k].*/