Find the earliest day to make m bouquets from blooming flowers.
Constraints
Example
>>> min_days([1,10,3,10,2], 3, 1) 3 >>> min_days([1,10,3,10,2], 3, 2) -1 >>> min_days([7,7,7,7,12,7,7], 2, 3) 12
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints