Is this test case valid?

  • 0

    here is the test case my code failed:


    the answer is swapping 321 and -13, however -33 is on the left node of 399, that is also a wrong placement.

    Not sure if anyone running into same issue? or I interpreted the input wrong?


Log in to reply

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