Test case 57 is incorrect?


  • 0
    V

    As per the description "You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional elements from nums2"
    which means m >= n should be true.
    But Test case 57 is as below
    [0]
    0
    [1]
    1
    where m < n. I think this is not correct. Any comments?


Log in to reply
 

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