Array Partition Leetcode Solution 862 210th