Valid String Combinations with Constraints
Filed under Directi
The question
Given size n and minimum required counts for characters 'R', 'B', and 'G' such that their sum equals n, find the number of valid string permutations.
No write-up yet. Related questions below have one.
Related Directi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.