Skip to content

Commit cd7f03b

Browse files
authored
Update count-subarrays-with-score-less-than-k.cpp
1 parent 079ceb3 commit cd7f03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-subarrays-with-score-less-than-k.cpp

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

4-
// sliding window
4+
// sliding window, two pointers
55
class Solution {
66
public:
77
long long countSubarrays(vector<int>& nums, long long k) {

0 commit comments

Comments
 (0)