Available question text
Count how many strings in the given array words are prefixes of s (i.e., equal to the starting substring of s); duplicate entries in words are counted separately. Constraints are small (words.length ≤ 1000, word and s lengths ≤ 10).
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 2255. Count Prefixes of a Given String
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source