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 57ed2cd commit 7551ad0Copy full SHA for 7551ad0
C++/count-the-number-of-ideal-arrays.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(sqrt(m) + n + mlogm + m * sqrt(m) / log(sqrt(m)))
+// Time: O(sqrt(m) + n + m * (logm + sqrt(m)/log(sqrt(m))))
2
// Space: O(sqrt(m) + n + logm)
3
4
// dp, factorization, combinatorics
0 commit comments