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 5bbb7bb commit 03e9e89Copy full SHA for 03e9e89
C++/distribute-repeating-integers.cpp
@@ -1,5 +1,5 @@
1
// Time: O(n + m * 3^m)
2
-// Space: O(2^m)
+// Space: O(n + 2^m)
3
4
class Solution {
5
public:
0 commit comments