Which sorting algorithm exhibits a worst-case time complexity of O(n^2)?
Merge sort
Quick sort
Bubble sort
Heap sort

Data Structures and Algorithms Exercises are loading ...