Rosetta Problems

Partition Array into Disjoint Intervals

https://leetcode.com/problems/partition-array-into-disjoint-intervals