CodingReported in a candidate post, Aug 2023
Count Strings within Length Range from Characters
Filed under Cvent
The question
Given minLength and maxLength, return the count of all strings generated by appending character 'x' cntOne times and 'y' cntTwo times within the length range, modulo 10^9 + 7.
No write-up yet. Related questions below have one.
Related Cvent questions
Collected from public candidate posts and coding forums. Updated Nov 2026.