Odd test case: ['wrtkj', 'wrt'] and ['wrt','wrtkj']


  • 0

    In the test case the expected output of
    ['wrtkj', 'wrt'] is ""but for ['wrt', 'wrtkj'] the output is "jkrtw"
    I can understand the logic of the first test case but the second seems quiet misleading, how does it come to the result?


Log in to reply
 

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