Easy
,Linked List
,Two Pointers
876. Middle of the Linked List
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.
Example 1:
Example 2:
Constraints:
[1, 100]
.1 <= Node.val <= 100
Kobe Dec 5, 2022
Marsgoat Dec 5, 2022
Jim Dec 5, 2022