Question

Which of the following sorting algorithms has a worst-case time complexity of O(n^2)?

A Merge sort
B Quick sort
C Bubble sort
D Insertion sort
Practice Next

Relevant for Exams:

Hey! Ask a query