Search
⌘K

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.

Comments

Your account is free and you can post anonymously if you choose.