Hi everyone,
I’m working on a problem where my solution isn’t getting Accepted (AC), and I’m struggling to figure out why. The time limit is 3 seconds so ideally even n^2 should pass . As far as I think my code is somewhat around O(n+mlogm) . Problem Link
Looking for positive response :) submission id --> 299093047 My code