Practice
Please select an answer and click submit at the end.
Question 1
What algorithm starts by dividing the search interval in half?
Question 2
What algorithm swaps adjacent elements if the are in the wrong order?
Question 3
What is the main disadvantage of linear search compared to binary search?
Question 4
What is the worst case time complexity of merge sort?
Question 5
What describes "time complexity" the best?
Question 6
What is the main idea behind "divide and conquer"?
Question 7
What scenario would best justify using bubble sort?
Question 8
What is an algorithm?
Question 9
What is the main reason for sorting data before searching?
Question 10
What would be the best algorithm to use if you wanted to find a word in a dictionary quickly?