We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc1917 commit 67f03ebCopy full SHA for 67f03eb
Python/count-ways-to-make-array-with-product.py
@@ -1,4 +1,4 @@
1
-# Time: O(sqrt(m) + n + qlogm + q * sqrt(m) / log(sqrt(m))), m is max(k for _, k in queries)
+# Time: O(sqrt(m) + n + q * (logm + sqrt(m)/log(sqrt(m)))), m is max(k for _, k in queries)
2
# Space: O(sqrt(m) + n + logm)
3
4
import collections
0 commit comments