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 60e02af commit eb99ee2Copy full SHA for eb99ee2
C++/super-ugly-number.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(n * k)
+// Time: O(n * logk) ~ O(n * k)
2
// Space: O(n + k)
3
4
// Heap solution. (308ms)
0 commit comments