Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
If we can make m or more bouquets at day x, then we can still make m or more bouquets at any day y > x.
We can check easily if we can make enough bouquets at day x if we can get group adjacent flowers at day x.