Skip to content

Commit caa0e02

Browse files
authored
Update prime-arrangements.cpp
1 parent e81f4dc commit caa0e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/prime-arrangements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Time: O(n)
1+
// Time: O(n/2 + n/3 + ... + n/p) = O(nlog(logn)), see https://mathoverflow.net/questions/4596/on-the-series-1-2-1-3-1-5-1-7-1-11
22
// Space: O(n)
33

44
class Solution {

0 commit comments

Comments
 (0)