So we assume sorted array are ascending?h


  • 1
    E

    the question states sorted arrays, what if first array is ascending and second one is descending?
    They still both sorted array, but the merge need to be changed.


Log in to reply
 

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