Leetcode Unique Binary String To Int