Leetcode Unique Binary String Problems In Python An Array