Elements of the subarray should be in the exact sequence as the sequence of the elements in the array