my leetcode accepted answers in python