Leetcode 3234. Count the Number of Substrings With Dominant Ones | Hello Interview