My friend and I submitted the exact same code, why would his code got accepted while mine got rejected?


  • 0
    C

    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?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.