Skip to content

Commit 9be8f82

Browse files
committed
Runtime: 146 ms (Top 9.14%) | Memory: 57.5 MB (Top 92.55%)
1 parent e100f50 commit 9be8f82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/C/Check If All 1's Are at Least Length K Places Away/Check If All 1's Are at Least Length K Places Away.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 146 ms (Top 9.14%) | Memory: 57.5 MB (Top 92.55%)
12
class Solution {
23
public:
34
bool kLengthApart(vector<int>& nums, int k) {
@@ -17,4 +18,4 @@ class Solution {
1718
}
1819
return true ;
1920
}
20-
};
21+
};

0 commit comments

Comments
 (0)