leetcode problems in python