Best sorting Algorithm

Which is the best sorting algorithm among Bubble Sort, Selection Sort and Insertion sort.

All of them have same time complexity of (n^2), quick sort and merge sort are better then them they have complexity of O(nlogn).
Also which sorting algorithm will work fastest depends on given array also. But if we are judging only on basis of time all are more or less equivalent.
@sanjit_15 if this solves your doubt mark it as resolved.

1 Like