Concept Flow - Merge K Sorted Lists Using Min Heap
Create min heap
Insert first node of each list into heap
While heap not empty
Extract min node from heap
Add min node to merged list
If min node has next, insert next into heap
Repeat until heap empty
Return merged list head
We build a min heap with the first nodes of all lists, then repeatedly extract the smallest node, add it to the merged list, and insert the next node from that list into the heap until all nodes are merged.