can anyone help me in this problem , i am getting TLE in task 3 . I checked up the editorial and the approach seems almost similar. can anyone help? Note  In the structure Node , mn is the minimum index of the string passing through it, and x is the index of the string ending at that leaf . asked 12 Jun '18, 10:27

This is the same problem i am also geting answered 16 Jun '18, 21:48
