Skip to content

Commit 413c134

Browse files
committed
Update READMEs.
1 parent b65a992 commit 413c134

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Below is the list of some of the most used Big O notations and their performance
236236
| **Selection sort** | `n^2` | `n^2` | `n^2` | `1` | No | |
237237
| **Heap sort** | `n log(n)` | `n log(n)` | `n log(n)` | `1` | No | |
238238
| **Merge sort** | `n log(n)` | `n log(n)` | `n log(n)` | `n` | Yes | |
239-
| **Quick sort** | `n log(n)` | `n log(n)` | `n^2` | `log(n)` | No | |
240-
| **Shell sort** | `n log(n)` | depends on gap sequence | `n (log(n))^2` | `1` | No | |
239+
| **Quick sort** | `n log(n)` | `n log(n)` | `n`<sup>`2`</sup> | `log(n)` | No | |
240+
| **Shell sort** | `n log(n)` | depends on gap sequence | `n (log(n))`<sup>`2`</sup> | `1` | No | |
241241
| **Counting sort** | `n + r` | `n + r` | `n + r` | `n + r` | Yes | `r` - biggest number in array |
242242
| **Radix sort** | `n * k` | `n * k` | `n * k` | `n + k` | Yes | `k` - length of longest key |

0 commit comments

Comments
 (0)