Question

Which sorting algorithm has a worst-case time complexity of O(n²)?

A Merge Sort
B Quick Sort
C Bubble Sort
D Heap Sort
Practice Next

Hey! Ask a query