Skip to content

Commit f2d9df7

Browse files
authored
Update count-equal-and-divisible-pairs-in-an-array.cpp
1 parent 35e71f2 commit f2d9df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-equal-and-divisible-pairs-in-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 * 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
// math, number theory

0 commit comments

Comments
 (0)