#21

Merge Two Sorted Lists

easy· Linked Listruns: 0

You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into a single sorted list by splicing together the nodes of the first two lists. Return the head of the merged linked list.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.