Count Binary Substrings Leetcode Javascript Questions