Reduce Array Size To The Half Leetcode Problems And Solutions