Count Distinct Substrings Leetcode Sql Certification