Daily Problem In Leetcode Python