Leetcode 2743. Count Substrings Without Repeating Character | Hello Interview