Count the Number of Substrings With Dominant Ones

mediumSolve on LeetCodeLast edited: August 2, 2025