Does anyone know a leetcode problem similar to this?
Seems to be a dfs/backtracking problem. Can we somehow use DP because we dont need to return all possible sets, but just the total count of unique racks? Not sure how I'd approach it
Count all possible scrabble racks, where 7 tiles are drawn from a bag containing a certain distribution of tiles. A tile can be (A-Z or blank)
Eg: 5As, 3Bs, 0Cs.....
AAAAABB
AAAABBB
Count- 2