Leetcode 1255. Maximum Score Words Formed by Letters
Given a list of words, a multiset of available letters, and per-letter scores, select a subset of words (each used at most once) whose combined letter counts do not exceed the available letters to maximize the total score. With words.length ≤ 14, this is typically solved by exploring subsets via bitmasking or backtracking while checking letter-frequency constraints.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.