Minimum Length Substrings Leetcode Sql Problems