Skip to content

Commit ad74db7

Browse files
committed
Runtime: 217 ms (Top 97.04%) | Memory: 113.4 MB (Top 23.87%)
1 parent 0016334 commit ad74db7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/F/Find the Most Competitive Subsequence/Find the Most Competitive Subsequence.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 217 ms (Top 97.04%) | Memory: 113.4 MB (Top 23.87%)
12
class Solution {
23
public:
34
vector<int> mostCompetitive(vector<int>& nums, int k) {
@@ -12,4 +13,4 @@ class Solution {
1213
}
1314
return vector<int>(stack.begin(), stack.begin()+k);
1415
}
15-
};
16+
};

0 commit comments

Comments
 (0)