This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Description
Description of the Problem
You are given an array of strings words and a string chars.
A string is good if it can be formed by characters from chars (each character can only be used once).
Return the sum of lengths of all good strings in words.
Code
class Solution:
def countCharacters(self, words: List[str], chars: str) -> int:
Link To The LeetCode Problem
LeetCode 1160