Minimum Length Substrings Leetcode 150