Partition Array into Disjoint Intervals

Answer Panel