Question

Which of the following is true about the time complexity of Merge Sort?

A Best case: O(n), Worst case: O(n^2)
B Best case: O(log n), Worst case: O(log n)
C Best case: O(n log n), Worst case: O(n log n)
D Best case: O(n), Worst case: O(n log n)
E Best case: O(n^2), Worst case: O(n^2)
Practice Next

Hey! Ask a query