Leetcode Check Completeness Of A Binary String Problem