Concept Flow - Merge Two Sorted Linked Lists
Start with two sorted lists
Compare heads of both lists
Choose smaller node
Attach chosen node to merged list
Move pointer in chosen list
Repeat until one list is empty
Attach remaining nodes from non-empty list
Return merged sorted list
We compare the first nodes of both lists, pick the smaller one, attach it to the merged list, and move forward. Repeat until all nodes are merged.
