4 ms·Note the: A[i] < A[j]by sorokod 2y agoNote the: A[i] < A[j]casey2 2y agoYou can use 1..n+1 for both indices to get a sorted array with >