Skip to content

Commit 237a621

Browse files
[N-0] refactor 683
1 parent 91017b5 commit 237a621

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-0
lines changed

src/main/java/com/fishercoder/solutions/_683.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
public class _683 {
3838

3939
public static class Solution1 {
40+
/**credit: https://discuss.leetcode.com/topic/104771/java-c-simple-o-n-solution*/
4041
public int kEmptySlots(int[] flowers, int k) {
4142
int[] days = new int[flowers.length];
4243
for (int i = 0; i < flowers.length; i++) {

0 commit comments

Comments
 (0)