Question: QUESTION 6 The worst-time complexity for selection sort is ________. O(1) O(logn) O(n) O(nlong) O(n*n) QUESTION 9 In the implementation of MyLinkedList, last.next is always
QUESTION 6
The worst-time complexity for selection sort is ________.
|
| O(1) | ||||||||||||||||||||||||||||||||||||||||
|
| O(logn) | ||||||||||||||||||||||||||||||||||||||||
|
| O(n) | ||||||||||||||||||||||||||||||||||||||||
|
| O(nlong) | ||||||||||||||||||||||||||||||||||||||||
|
| O(n*n) QUESTION 9 In the implementation of MyLinkedList, last.next is always null. True False QUESTION 10 In the implementation of MyArrayList, capacity is the length of the array used to store the elements in the list. True False QUESTION 11 O(n*n) is ________.
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
