Leetcode 561 Array Partition Algorithm In Osaka