Skip to content

Commit 3a42287

Browse files
authored
Update README.md
1 parent 79250e8 commit 3a42287

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,9 @@ This algorithm never needed to compare all the differences to one another, savin
298298
- Very simple to implement.
299299

300300
#### Time Complexity
301-
- Best Case Sort: Merge Sort: `O(n^2)`
302-
- Average Case Sort: Merge Sort: `O(n^2)`
303-
- Worst Case Sort: Merge Sort: `O(n^2)`
301+
- Best Case Sort: `O(n^2)`
302+
- Average Case Sort: `O(n^2)`
303+
- Worst Case Sort: `O(n^2)`
304304

305305
#### Space Complexity
306306
- Worst Case: `O(1)`
@@ -320,7 +320,7 @@ This algorithm never needed to compare all the differences to one another, savin
320320

321321
#### What you need to know
322322
- Inefficient for large data sets, but can be faster for than other algorithms for small ones.
323-
- Although it has an `O(n^2)`, in practice it slightly less since its comparison scheme only requires checking place if its smaller than its neighbor.
323+
- Although it has an `O(n^2)` time complexity, in practice it is slightly less since its comparison scheme only requires checking place if it is smaller than its neighbor.
324324

325325
#### Time Complexity
326326
- Best Case: `O(n)`

0 commit comments

Comments
 (0)