The submission result was "time limit exceeded". We used the O(n²) solution in the solution page of that question. I had tried submitting several times, and got the same result every time.
I'm wondering how does the judging mechanism working?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.