educative.io

Subarray definition

Does a subarray in this context mean any contiguous subset of the array? How it is recursively defined it appears the subarrays could be non-contiguous.

Thanks.

In the context of this lesson, the term “subarray” was not appropriate to describe the arrays that the problem requires us to construct.

Hence, we have updated the lesson to avoid using the term “subarray”. Please let us know if you see any issues after the update.