Given the head of a singly linked list, return its middle node. If the list has an even number of nodes, return the second of the two middle nodes (the report does not say which; state the…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.