Question: The order of sorting an array of N items using one of the slower sorting algorithms such as SelectionSort. 1. O(1) 2. O(logN) 3. O(N)
The order of sorting an array of N items using one of the slower sorting algorithms such as SelectionSort. 1. O(1) 2. O(logN) 3. O(N) 4. O(N logN) 5. O(N*N) 6. O(N*N*N)
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
The Selection Sort algorithm runs in ON2 time complexity Selection Sort is a simple comparisonbased ... View full answer
Get step-by-step solutions from verified subject matter experts
