Count Binary Substrings Hackerrank Sql Interview