Sanket and strings';';'


https://hack.codingblocks.com/contests/c/512/1569

I don’t understand how that left variable is working. I mean why there is a need for that. I 'm not able to code this problem.It’s frustrating.