What should we return when cases like ["z","z"]


  • 2
    W

    According to the description, if no order is valid, just return empty String. However I got the following error:

    ["z","z"]
    Output:
    ""
    Expected:
    Special judge: No expected output available.

    Wondering what should be the correct return value here?


  • 0
    W

    Oh I see. In this case should be "z".
    Can close this question.


Log in to reply
 

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