My Python practice of leetcode