Incorrect testcase


  • 0
    P

    On running the tests, this is what I see the output

    Input:
      ["zy","zx"]
    Output:
      "yx"
    Expected:
      "yzx"
    

    I think my solution is correct as there is nothing that can be said about 'z' from the two inputs.


  • 0

    'z' can show up in any position and you must put it in something position.


Log in to reply
 

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