Search
⌘K
Get Premium
Leetcode 1160. Find Words That Can Be Formed by Characters
Given a list of words and a pool string chars, return the sum of lengths of all words that can be formed from chars where each character in chars can be used at most once per word. The core task is to compare each word's letter frequencies against the available frequencies in chars (i.e., a multiset comparison).
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.