The complexity of bubble sort algorithm is
Answers
Answered by
0
Most practical sorting algorithms have substantially better worst-case or average complexity, often O(n log n). Even other О(n2) sorting algorithms, such as insertion sort, generally run faster than bubble sort, and are no more complex. Therefore, bubble sort is not a practical sorting algorithm.
Similar questions
Biology,
8 months ago
Social Sciences,
8 months ago
Chemistry,
8 months ago
Physics,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago