Two Pointers Same Direction

Middle of Linked List

Find the middle node of a linked list

Input: 0 1 2 3 4

Output: 2