Leetcode 75 Python Solutions