I HAD TRIED THIS QUESTION MANY TIMES STILL I GOT TIME LIMIT EXCEEDED ON TEST 18 EVERY TIME . I EVEN USED FEN WICK TREE WHICH IS REQUIRED TO OPTIMISED IN THIS QUESTION . TO THE BEST OF MY KNOWLEDGE I AM DOING GOOD STILL NOT ABLE TO DEBUG IT . PLZ SOMEONE HELP .
THE PROBLEM NAME IS — STRING REVERSAL (1430E)
SUBMISSION LINK- https://codeforces.me/contest/1430/submission/95628601
QUESTION LINK -https://codeforces.me/contest/1430/problem/E
THNX IN ADVANCE :))