title | date | draft | tags | categories | |||
---|---|---|---|---|---|---|---|
Algorithm4 Java Solution 2.1.03 |
2019-08-30 23:38:31 +0800 |
false |
|
|
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: