Big 0 Quiz
By Mickey Arnold
starstarstarstarstarstarstarstarstarstar
Last updated 10 months ago
20 Questions
1 point
1
Question 1
1.
The _______ sort has a best case run time of O(N).
1 point
1
Question 2
2.
The _______ sort has a best case run time of O(N*Log2N) and a worst case run time of O(N2).
1 point
1
Question 3
3.
_______ is the Big O for adding to the front of an array.
1 point
1
Question 4
4.
_______ is the Big O for adding to the front of a linked list.
1 point
1
Question 5
5.
_______ is the Big O for adding an item to a TreeSet.
1 point
1
Question 6
6.
_______ is the Big O for adding an item to a HashSet.
1 point
1
Question 7
7.
The Bubble Sort has a best case run time of _______ .
1 point
1
Question 8
8.
The Quick Sort has a best case run time of _______ .
1 point
1
Question 9
9.
The Merge Sort has a best case run time of _______ .
1 point
1
Question 10
10.
The Quick Sort has a worst case run time of _______ .
1 point
1
Question 11
11.
The Merge Sort has a worst case run time of _______ .
1 point
1
Question 12
12.
The Insertion Sort has a best case run time of _______ .
1 point
1
Question 13
13.
The Insertion Sort has a worst case run time of _______ .
1 point
1
Question 14
14.
_______ is the Big O for adding to the middle of an array.
1 point
1
Question 15
15.
_______ is the Big O for adding to a binary search tree.
1 point
1
Question 16
16.
_______ is the Big O for adding to the end of an ArrayList.
1 point
1
Question 17
17.
_______ is the Big O for deleting an item from an ArrayList.
1 point
1
Question 18
18.
_______ is the Big O for traversing(accessing all nodes) a binary search tree.
1 point
1
Question 19
19.
_______ is the Big O for searching a binary search tree.
1 point
1
Question 20
20.
_______ is the Big O for deleting an item from a linked list assuming that you know the location of the item to delete.