Skip to content

Commit 35e71f2

Browse files
authored
Update count-equal-and-divisible-pairs-in-an-array.py
1 parent 6cd3b62 commit 35e71f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/count-equal-and-divisible-pairs-in-an-array.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(n * sqrt(k))
1+
# Time: O(nlogk + n * sqrt(k))
22
# Space: O(n + sqrt(k)), number of factors of k is at most sqrt(k)
33

44
import collections

0 commit comments

Comments
 (0)