Minimum Length Substrings Leetcode Python Solutions