Skip to content

Commit 731ce93

Browse files
authored
Update find-the-maximum-sequence-value-of-array.cpp
1 parent 7017954 commit 731ce93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/find-the-maximum-sequence-value-of-array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Time: O(n * r + r^2)
22
// Space: O(r)
33

4-
// prefix sum, dp
4+
// bitmasks, prefix sum, dp
55
class Solution {
66
public:
77
int maxValue(vector<int>& nums, int k) {

0 commit comments

Comments
 (0)