Problem 876 · Easy

Middle of the Linked List

Advance a slow pointer one node and a fast pointer two nodes so slow stops at the middle.

Open the interactive visualisation