Leetcode Solutions by Python