I am trying to solve a question in which i have given an array of unsorted element and it ask to choose
three pairwise distinct index from array at a time to sort the array.
So my question is what is Pairwise Distinct ?
I am trying to solve a question in which i have given an array of unsorted element and it ask to choose
three pairwise distinct index from array at a time to sort the array.
So my question is what is Pairwise Distinct ?
A collection of k items are pairwise distinct if no two of them are equal to one another. For example, the values 1, 2, and 3 are pairwise distinct, but the values 1, 1, and 3 are not.