Skip to content

Commit e81f4dc

Browse files
authored
Update prime-arrangements.py
1 parent 99cb8b4 commit e81f4dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/prime-arrangements.py

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(object):

0 commit comments

Comments
 (0)