




Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
If a point with a speed s moves n units in a given time, a point with speed 2 * s will move 2 * n units at the same time. Can you use this to find the middle node of a linked list?
If you are given the middle node, the node before it, and the node after it, how can you modify the linked list?