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

Data Structures and Algorithms Exercises are loading ...