Solution in Javascript is much faster than the one in Java.......


  • -3
    B

    With JS, it only took 60ms.....
    With poor Java, it needs more than 200ms...


Log in to reply
 

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