How fast is selection sort?
How fast is selectionSort? Want a general idea of its speed that is independent of the computer on which it executes. Don�t give time in seconds or milliseconds.
The operation that is performed the most is the array comparison b[h] < b[j]. We take the number of such comparisons performed as a measure of speed. Abbreviate b.length as n . . .