K Empty Slots
Input:
flowers: [1,3,2]
k: 1
Output: 2
Explanation: In the second day, the first and the third flower have become blooming.Input:
flowers: [1,2,3]
k: 1
Output: -1Last updated
Input:
flowers: [1,3,2]
k: 1
Output: 2
Explanation: In the second day, the first and the third flower have become blooming.Input:
flowers: [1,2,3]
k: 1
Output: -1Last updated
class Solution {
public int kEmptySlots(int[] flowers, int k) {
}
}