Merge Sort on Singly Linked Lists
Merge Sort on Singly Linked Lists is simple if you keep it on paper. Meera uses it for a ticket queue node in a counter.
Merge Sort on Singly Linked Lists on the board: head → next → …. Then say what a ticket queue node looks like after.
Merge Sort on Singly Linked Lists exists so Meera can keep a ticket queue node correct in a counter.
Merge Sort on Singly Linked Lists shows up in a counter. Name a ticket queue node, not “a real-world scenario”.
Merge Sort on Singly Linked Lists trap — losing the next pointer on delete. Meera loses marks for that every viva.
After Merge Sort on Singly Linked Lists, Meera should still remember losing the next pointer on delete.
One breath for Merge Sort on Singly Linked Lists, then a ticket queue node, then losing the next pointer on delete. Sit down.
[10] → [20] → [30] → / head tail
Say Merge Sort on Singly Linked Lists in one breath, then head → next → …, then losing the next pointer on delete.