




Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Solve the problem for each string in <code>words</code> independently.
Now try to think in frequency of letters.
Count how many times each character occurs in string <code>chars</code>.
To form a string using characters from <code>chars</code>, the frequency of each character in <code>chars</code> must be greater than or equal the frequency of that character in the string to be formed.