Minimum Length Substrings Leetcode Potd Solution