Is this test case valid?


  • 0
    B

    here is the test case my code failed:

    {146,71,-13,55,#,231,399,321,#,#,#,#,#,-33}
    

    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?

    thanks


Log in to reply
 

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