Special Binary String Leetcode Problems Sql