Leetcode 3258. Count Substrings That Satisfy K-Constraint I | Hello Interview