1684. Count the Number of Consistent Strings
You are given a string
allowedconsisting of distinct characters and an array of stringswords. A string is consistent if all characters in the string appear in the stringallowed.Return the number of consistent strings in the array
words.
1 | class Solution { |