Minimum Length Substrings Leetcode Python Easy Exercises