Search⌘ K
AI Features

Similar String Groups

Similar String Groups gives a list of anagram strings. Count the connected groups formed when strings are identical or one can become the other by swapping two different characters at most once.

Statement

Two strings x and y are considered similar if they are either ...