Non explicit instructions.


  • 0
    B

    The instructions on this task should be more explicit that the result should be sorted.

    It's implicit - but the task which only says to merge the lists (not merge + sort them) can be resolved by making l1.next = l2; return l1;


Log in to reply
 

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