Learn more about cloning repositories
You have read-only access
Change order of subarrays to cover all cases Since in all tests each subarray has a larger max than the previous subarray, if the user does not reset max for each subarray, the tests still pass.