Codeforces Round 147 (Div. 2) E. Build String
- Time : O(|s|∗|q|)
- Space : O(|q|2)
c++
1 |
|