| title | Algorithm4 Java Solution 2.1.03 | ||
|---|---|---|---|
| date | 2019-08-30 23:38:31 +0800 | ||
| draft | false | ||
| tags |
|
||
| categories |
|
Give an example of an array of N items that maximizes the number of times the test a[j] < a[min] fails (and, therefore, min gets updated) during the operation of selection sort (Algorithm 2.1).
code: