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 f0fe7bf commit 1d79362Copy full SHA for 1d79362
C++/gcd-sort-of-an-array.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(n * α(n) + m * log(logm)) ~= O(n + m), m is the max of nums
+// Time: O(nlogn + n * α(n) + m * log(logm)) ~= O(nlogn + m), m is the max of nums
2
// Space: O(n + m)
3
4
class Solution {
0 commit comments