What is the worst-case time complexity of a bubble sort algorithm?
O(n)
O(n^2)
O(n log n)
O(1)

Science and Engineering Exercises are loading ...