Leetcode Subarray From A Binary Number