Data Structures and Algorithms – Multiple Choice Questions (MCQs)
-
-
38. What is the time complexity of Insertion Sort in the worst case?
-
39. What is the time complexity of Selection Sort in the worst case?
-
40. What is the time complexity of Merge Sort in the worst case?
-
41. What is the time complexity of Quick Sort in the average case?
-
42. What is the time complexity of Heap Sort in the worst case?
-
43. Which sorting algorithm has the best average-case time complexity?
-
44. What is a searching algorithm?
-
45. What is linear search?
-
46. What is binary search?
-
47. For binary search to work, the list must be:
-
48. What is hashing?