Saturday, August 13, 2011

SelectionSort achieves its maximum number of interchanges?

Give an example of an array A of size n on which algorithm SelectionSort achieves its maximum number of interchanges. You may ume that the elements of A are the numbers 1, 2, ...., n.

No comments:

Post a Comment