Problem 1669 · Medium

Merge In Between Linked Lists

Walk to the node before index a and the node at index b, then splice the second list in and reconnect the tail to the node after b.

Open the interactive visualisation