Leetcode Unique Binary String Problems