Partition Array into Disjoint Intervals - Practice Coding | SlaveCode