Concept Flow - Merge Two Sorted Linked Lists
Start with two sorted lists
Compare heads of both lists
Smaller node
→Add to merged list
Move pointer in that list
Repeat until one list empty
Attach remaining nodes of other list
Return merged sorted list
We compare the first nodes of both lists, add the smaller one to the merged list, move that list's pointer, and repeat until all nodes are merged.
