Is the computing performance of LeetCode variable and unstable?

  • 0

    Hi guys, I'm wondering if the compuitng perforamcne of LeetCode will vary from time to time. For example, in a particular time it can run my code pretty fast while in another rush hour it will run my code very slowly and give it a TLE.

    Becasue for the super long test case (from 5000 to 0), it takes 56ms on my PC, but LeetCode gave it TLE for most times. I mean most times because I submited several times, and there is indeed one time that LeetCode accepted it with over 2800ms, but TLE for all other submit attempts.

  • 0

    That seems to be the case. I noticed getting different time results just by resubmitting the same code.

Log in to reply

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