Array Partition Leetcode Solution Github