Codeforces Round #811 (Div. 3) D. Color with Occurrences
- Time : O(|s|∗|A|)
- Space : O(|s|2)
c++
1 |
|