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 67f03eb commit 9e009ccCopy full SHA for 9e009cc
C++/count-ways-to-make-array-with-product.cpp
@@ -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
class Solution {
0 commit comments