algorithm and complexity objective questions and answers
uestion 2: Which of the following algorithms has the best average-case time complexity for sorting? a) Bubble Sort b) Insertion Sort c) Merge Sort d) Quick Sort Answer: d) Quick Sort Explanation: While Merge Sort guarantees O(n log n) time complexity in all cases, Qu