My O(N*log(N)) PyPy3 code got TLE verdict for N — 2e5 (worst case)
Can someone explain what operations are being heavy in my code? and how can I optimize them?
Here is the submission link — submission
Need help with a PyPy3 submission
My O(N*log(N)) PyPy3 code got TLE verdict for N — 2e5 (worst case)
Can someone explain what operations are being heavy in my code? and how can I optimize them?
Here is the submission link — submission