Available question text
Design a structure that, given a dictionary, computes each word's abbreviation (first letter + count of omitted letters + last letter, with short words typically unchanged) and answers queries on whether a given word's abbreviation is unique among the dictionary. The core challenge is handling abbreviation collisions and duplicates efficiently so isUnique(word) returns true only if no other distinct word shares the same abbreviation.
Related questions
Continue with questions that share topics or the same question type.
- Minimum Unique Word Abbreviation
Coding
- Valid Word Abbreviation
Coding
- Word Abbreviation
Coding
- Bad Word Checker
Coding
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 288. Unique Word Abbreviation
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source