Reduce Array Size To The Half Leetcode Problems On Binary