What pointer should move after each attachment?
Practice this question from Merge Two Sorted Lists - Dummy node Pattern Practice Quiz, with options and an explanation.
Question
What pointer should move after each attachment?
Option A — Correct answer
tail
Option B
dummy only
Option C
head of list1 always
Option D
fast pointer
Explanation
The tail pointer should move to the newly attached node.