Bubble Sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
| Case | Time Complexity |
|---|---|
| Best Case (Already sorted) | O(n) |
| Average Case | O(n²) |
| Worst Case (Reverse sorted) | O(n²) |