Count Binary Substrings Leetcode Javascript Practice Test