Skip to content

Commit abad153

Browse files
authored
Update find-subsequence-of-length-k-with-the-largest-sum.cpp
1 parent dd4dd19 commit abad153

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

C++/find-subsequence-of-length-k-with-the-largest-sum.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Time: O(n)
22
// Space: O(n)
33

4+
// quick select solution
45
class Solution {
56
public:
67
vector<int> maxSubsequence(vector<int>& nums, int k) {

0 commit comments

Comments
 (0)