disjoint contiguous sub array