Available question text
Treat each string (letters are unique) as a 26-bit mask and connect two masks if one can be obtained from the other by adding or removing one bit or by replacing one bit (i.e., one-bit edit on the set). The task is to compute the number of connected components and the size of the largest component — typically solved by generating mask transformations and using union-find or graph traversal.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2157. Groups of Strings
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source