Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2135. Count Words Obtained After Adding a Letter
Count how many target words can be obtained by taking some start word, appending exactly one new letter not already present, and permuting the result — equivalently, for each target check if removing one of its letters yields a letter-set that appears among startWords. This reduces to comparing letter-sets (e.g., 26-bit masks or sets) and checking if any single-letter-deleted target-set matches a start-set.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.