Algorithm Design Questions Medium
The time complexity of the bubble sort algorithm is O(n^2), where n is the number of elements in the array being sorted. This means that the time it takes to sort the array increases quadratically with the number of elements.