validation output is different from what I ran locally

  • 0

    I tried to solve the question in Javascript.
    Test case [[0,0],[1,1],[1,-1]]
    When I ran my code locally, the output is 2.
    But leetcode said my output is 4.

    Is it okay if I copy and past my code in discussion?

Log in to reply

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