Identify the sorting algorithm that has a time complexity of O(n^2) for all inputs?
Quick sort
Merge sort
Bubble sort
Heap sort

Software Engineering Exercises are loading ...