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 e5dfa3d commit 10f56cfCopy full SHA for 10f56cf
C++/maximize-the-number-of-partitions-after-operations.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(26 * n)
+// Time: O(n)
2
// Space: O(n)
3
4
// prefix sum, greedy
0 commit comments