Which of the following is a sorting algorithm with a worst-case time complexity of O(n^2)?

A) Merge Sort
B) Quick Sort
C) Bubble Sort
D) Radix Sort

1 answer

C) Bubble Sort