Leetcode Subarray From A Binary Choice