Algorithms, Java, Development, Coding, Computer Science.
how would the algorithm behave if we pass it an array with 1 element? How would it behave when we pass it an array with 1 000 000 elements? Will sorting an array with 1 000 000 elements using sort1 algorithm be 1 000 000 times slower than sorting an array with 1 element? Another drawback is that