i dint understood the coding part…can you please explain little bit clearly or can you provide other resources to refer to
Alyona and strings
Hey @dras_227 you can read the editorial of this problem here
https://codeforces.com/blog/entry/45491
whereas i am also attaching solution for this problem is
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.