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
Social Sciences,
7 months ago
Math,
7 months ago
India Languages,
7 months ago
Physics,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago