why ["z","z"] will return "z"


  • 0
    J

    I can't get the reason.
    the input didn't give me any ordered information

    But for test case ["wrtkj","wrt"], the expected answer is "". Interesting..


Log in to reply
 

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