Available question text
Given a list of phone numbers (strings), determine whether the list is "consistent" by checking if any number is a prefix of another. Efficient solutions detect prefix relationships among strings (e.g., by sorting and comparing neighbors or using a trie).
Related questions
Continue with questions that share topics or the same question type.
- Letter Combinations of a Phone Number
Coding · Backtracking · Hash Table · String
- Number of Times Binary String Is Prefix-Aligned
Coding
- Reformat Phone Number
Coding
- 1. Count number of islands in matrix (Leetcode challenge)
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 3491. Phone Number Prefix
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source