mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-06 17:38:02 +00:00
Update quicksort challenge space complexity (#136)
This commit is contained in:
@@ -76,7 +76,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"Complexity:\n",
|
"Complexity:\n",
|
||||||
"* Time: O(n log(n)) average, best, O(n^2) worst\n",
|
"* Time: O(n log(n)) average, best, O(n^2) worst\n",
|
||||||
"* Space: O(n+m), n = number of elements, m = recursion depth\n",
|
"* Space: O(n)\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Misc:\n",
|
"Misc:\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user