
Bubble Sort
Bubble Sort is a simple method for organizing items, like numbers, in order. Imagine comparing two neighbors at a time; if they're out of order, you swap them. You repeat this process across the entire list multiple times. Each pass "bubbles" larger items toward the end, similar to bubbles rising in water. Eventually, with enough passes, the list becomes fully sorted from smallest to largest (or vice versa). It’s easy to understand and implement, but not the most efficient for large lists because it requires many comparisons and swaps.