Given the head of a singly linked list, return the middle node of the linked list. If there are two middle nodes, return the second middle node. You must perform this in a single traversal.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.