Hard
LABK Empty Slots
Flowers bloom in the given order by position. Return the earliest day when two blooming flowers have exactly k unbloomed slots between them, or -1.
EXAMPLES
Example 1
Input
{
"flowers": [
1,
3,
2
],
"k": 1
}
Output
2FUNCTION SHAPE
flowers: intArrayk: int→int