Add quick sort.

This commit is contained in:
Oleksii Trekhleb 2018-04-15 06:41:15 +03:00
parent c8becaf299
commit 278ca89aa1

View File

@ -104,5 +104,3 @@ Source: [Big O Cheat Sheet](http://bigocheatsheet.com/).
| **Heap sort** | n log(n) | n log(n) | n log(n) | 1 | No |
| **Merge sort** | n log(n) | n log(n) | n log(n) | n | Yes |
| **Quick sort** | n log(n) | n log(n) | n^2 | log(n) | No |
| **Radix sort** | nk | nk | nk | n + k | |
| **Bucket sort** | n + k | n + k | n^2 | n | |