leetcode
876. Middle of the Linked List
Solution
Python code
Time complexity: O(n)
Space complexity: O(1)