How to solve Leetcode 876. Middle of the Linked List