DSA Key Problems

Middle of the Linked List

Given the head of a singly linked list, return its middle node; when there are two middle nodes, return the second one.