Reverse Binary String Leetcode Problems Sql