Explanation:The middle node is 3, so the output is the linked list starting from node 3.
Example 2:
Input:head = [1,2,3,4,5,6]
Output:[4,5,6]
Explanation:There are two middle nodes, 3 and 4. The problem requires returning the second middle node, which is 4, so the output is the linked list starting from node 4.