In this problem, why C++ and C slower than Java?

  • 1

    Generally speaking, C/C++ is faster than Java, but in this problem, I see the Solution of Java is faster than
    C/C++ in average, I don`t know why, can anyone explain it ?Thanks!

  • 0

    I was wondering the exact same thing...for Java to beat pure

Log in to reply

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