Leetcode Check Completeness Of A Binary String To Integer