Please either format your code or link to your submission - the forum software has mangled it and it won’t compile!
@ssjgz Sorry its my first time here😁
Consider a testcase where T=1, N=79987, and s consists of N
@ssjgz thank you so much for your response
Great; you’re welcome