My issue
How to solve this problem. I mean it is clearly segment tree type thing. But why many are using string hashing. Also there may be a possibility of Collisions
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Break The String Practice Coding Problem