Search
⌘K

Leetcode 1790. Check if One String Swap Can Make Strings Equal

Determine whether two equal-length strings can be made identical by performing at most one swap inside exactly one of them. In practice this means they must already be equal or differ at exactly two positions whose characters are reversed between the strings.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.