Average and worst case time complexity: n^2
Best case time complexity: n when array is already sorted.
Worst case: when the array is reverse sorted.
Best, average and worst case time complexity: n^2 which is independent of distribution of data.
Best, average and worst case time complexity:
Best, average and worst case time complexity: