Hey Guys!! I have been trying to understand the Editorial's solution from quite a while now but couldn't get it properly. Can anyone please throw some light on how to proceed it.
Question link :- https://mirror.codeforces.com/contest/1163/problem/D
What I have understood till now.
At every position, we will assume every possible character to be there in the string c whenever there is asterisk present and after that, we are also maintaining what is the length of the prefix of string t and s which matches with the suffix of string c[0, i]. Now, how to move beyond this?
Additional help :-
Can someone provide some similar questions to this one which they have encountered while practicing.