Pak Study
Which sorting algorithm has the best worst-case time complexity?
Explanation
Merge Sort has the best worst-case time complexity: O(n log n).It uses the Divide and Conquer technique.It divides the array into smaller parts, sorts them, and then merges them.Additional information:
Bubble Sort: O(n²)Selection Sort: O(n²)Insertion Sort: O(n²) (worst case)Quick Sort: O(n²) (worst case), O(n log n) (average)Last verified on 18-07-2026