Why does my run time increase a lot? Very curiosity!

  • 0

    Just this week, After submission, I found the Run Time increased a lot (much faster than average JAVA), but I didn't improve my time complexity. Very curiosity.

    For example:

    1. Valid Sudoku 359 ms, average > 530ms
    2. Combination Sum 271ms, average > 480ms
    3. Combination Sum II 243ms, average > 470ms
    4. Subsets 209ms, average > 400ms

    I guess:

    1. LC udpated the server
    2. JDK 8 is more efficient
    3. Removed some test cases
    4. Changed the measurement of running time

  • 0

    Me, too. I use C++. I think OJ just update its server!!

Log in to reply

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