Leetcode 1513. Number of Substrings With Only 1s | Hello Interview