We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370d16d commit 9916fa6Copy full SHA for 9916fa6
notes/sorting.md
@@ -177,8 +177,7 @@ Sorted! ✅
177
178
**Optimizations**
179
180
-* **Early Exit**: If in a full pass **no swaps occur**, the array is already sorted, and the algorithm can terminate early.
181
-* This makes Bubble Sort’s **best case** much faster (\$O(n)\$).
+* This makes Bubble Sort’s **best case** much faster ($O(n)$).
182
183
**Stability**
184
0 commit comments