#23

Merge K Sorted Lists

hard· Linked Listruns: 0

You are given an array of k linked lists, each sorted in ascending order. Merge all the linked lists into one sorted linked list and return its head.

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.