Search
⌘K
Get Premium
Leetcode 1684. Count the Number of Consistent Strings
Given a set of allowed lowercase letters, count how many words in the array consist only of those letters. Return the number of words whose every character appears in allowed.
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.