Search
⌘K

Leetcode 1657. Determine if Two Strings Are Close

Determine whether two strings can be made identical using arbitrary swaps of characters and global pairwise character relabelings; equivalently, check they have the same length, the same set of distinct letters, and the same multiset of character frequencies.


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.