Find Middle Node

Given head, the values of a singly linked list encoded as an array, return the list starting at the middle node. If there are two middle nodes, start at the second one.

The platform passes the list as head = [v1, v2, ..., vn]. The middle node is the one at index floor(n / 2), and the answer is the complete suffix head[floor(n / 2) .. n - 1]. Returning the suffix, rather than only the middle value, preserves node position when values repeat.

Examples
Input: [1,2,3,4,5]
Output: [3,4,5]
Hints

Find Middle Node

Given `head`, the values of a singly linked list encoded as an array, return the list starting at the middle node. If there are two middle nodes, start at the second one.