Skip to content

Commit 1d79362

Browse files
authored
Update gcd-sort-of-an-array.cpp
1 parent f0fe7bf commit 1d79362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/gcd-sort-of-an-array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Time: O(n * α(n) + m * log(logm)) ~= O(n + m), m is the max of nums
1+
// Time: O(nlogn + n * α(n) + m * log(logm)) ~= O(nlogn + m), m is the max of nums
22
// Space: O(n + m)
33

44
class Solution {

0 commit comments

Comments
 (0)