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